two output in one scope

3 vues (au cours des 30 derniers jours)
sajad Tarverdian
sajad Tarverdian le 6 Jan 2024
How can I have scope output from one .mdl file with another .mdl file in the same window (for Compare)?
Like the figure below

Réponse acceptée

Paul
Paul le 6 Jan 2024
The easiest way is to log each signal in their respective .mdl file, simulate each, and then plot from the base workspace.

Plus de réponses (1)

madhan ravi
madhan ravi le 6 Jan 2024
Modifié(e) : madhan ravi le 6 Jan 2024
Using 2 Model Blocks reference one .mdl file and and the other .mdl file (if the model block doesn"t support .mdl format, convert it to .slx) and connect the outputs of each model blocks to one Scope block by this way you can compare both the signals.
See an illustration with a simple example below:
Here Reference1 and Reference2 are model files saved in the path
  1 commentaire
sajad Tarverdian
sajad Tarverdian le 6 Jan 2024
thanks a lot.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Interactive Model Editing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by