two output in one scope
6 次查看(过去 30 天)
显示 更早的评论
How can I have scope output from one .mdl file with another .mdl file in the same window (for Compare)?
Like the figure below
0 个评论
采纳的回答
Paul
2024-1-6
The easiest way is to log each signal in their respective .mdl file, simulate each, and then plot from the base workspace.
0 个评论
更多回答(1 个)
madhan ravi
2024-1-6
编辑:madhan ravi
2024-1-6
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Model Editing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!