Running m file from simulink
Show older comments
I have a mile in which i have to call from sinulink,the m file willl plot a graph ,please tell how to call m file from simulink without using from workspace block
Accepted Answer
More Answers (1)
Mohammad Ali Sharifian
on 24 Mar 2024
0 votes
If the m-file is just for plotting, I recommend pasting your m-file codes in: model properties>callbacks>stop fcn
This way when you run your simulink, the results will be plotted automatically.
Categories
Find more on Interactive Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!