two output in one scope
조회 수: 7 (최근 30일)
이전 댓글 표시
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1584141/image.jpeg)
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1584191/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1584196/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1584201/image.png)
참고 항목
카테고리
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!