How to stop simulation until the workspace data end?
Ältere Kommentare anzeigen
There is a input from workspace. (this block be can found in Sources categories. ) Whenever I simulate a block, I should change the simulation time at the top of the diagram. (just side by stop button.)
My question is, How can I stop simulation when the input are finished? (the input has 2 columns - time, value)
ex:)
the input like below:
time, value
0, 35
1, 20
2, -10
... ...
10, 5
I would like to stop my diagram at 10sec.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Model, Block, and Port Callbacks finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!