how can i combine 2 figures simulink

87 views (last 30 days)
Anass
Anass on 11 Mar 2014
Commented: Saurabh Singh on 25 Jul 2018
hello I have 2 figures in simulink and I want to merge them into a single figure for comparison thank you

Answers (2)

Andreas Goser
Andreas Goser on 11 Mar 2014
Edited: Andreas Goser on 11 Mar 2014
Assuming you mean two scopes, there are two ways:
1. Edit a scope block to accept two inputs ('Number of axes' setting in Scope Parameters - General) and move both signal into it. Result: Two axis on top of each other.
2. Move both signals into a Mux Block and the output of the Mux block into a scope. Result: Both signals in one axis and easy to compare.
  1 Comment
Saurabh Singh
Saurabh Singh on 25 Jul 2018
what if one graph is on scope of simulink model and the other by a .m file than how do we merge the two graphs?

Sign in to comment.


Anass
Anass on 14 Mar 2014
thank you for your reply I have two figures extension. fig of simulink and I want to merge them into a single figure to showcase my model developed
  1 Comment
Andreas Goser
Andreas Goser on 17 Mar 2014
I am sorry, I still do not understand as you are not saying something about my answer and note. If English is not your first language, maybe you can contact Technical Support in your country?

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!