matlab function block querry
Show older comments
Sir i am using matlab function block and i want to terminate my execution when undesirable results are prouduced can u please tell the syntax or code just like exit is used in c programming
Answers (2)
Use command exit or quit
1 Comment
Akshay Math
on 7 Feb 2020
Walter Roberson
on 7 Feb 2020
0 votes
https://www.mathworks.com/help/simulink/slref/stopsimulation.html
You could emit an output which indicates whether to stop and connect to a Stop Simulation block
Categories
Find more on Block Libraries 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!