how do i execute a matlab script from simulink, not a function, just an mfile to plot a graph?
이전 댓글 표시
I have a simulink model and i have exported some of the variables to workspace and i want to plot them. I would have used a scope but I don't want time to be the x-axis. So i wrote an mfile to do a stem plot and i want this script to execute right after the simulation is complete.
댓글 수: 1
Ahmed
2022년 2월 28일
Refere to the following mathworks link
https://www.mathworks.com/matlabcentral/answers/22775-running-m-file-from-simulink
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!