Simulink: Modeling in Debug Mode

I have one more problem on Simulink:

Is it possible to pause a simulation while it is running? After creating a few steps through Block Delay, I want to pause my simulation before the next step is done (to display values ​​for the user). After - let them say - the click of the simulation should go one step, and the procedure is repeated. In the end, this should have some sort of debugging features.

I am not very sure how this can be implemented. I think somewhere in the modeling parameters, but where and how?

+3
source share
1 answer

There are three ways to do this that I know of.

1: . , , , .

: , .

: " " , . ( , , .

2: Simulink. ( ). "" > " Simulink Debugger" , . , - .

: .

: , Matlab. .

3: Matlab . :

y = func (x); = ;

( ). y = x; . , , , , , "" Matlab.

: , .

: .

:

Simulink, "" > " " > " ". / , - . , . . , Simulink /.

, ( Simulink Matlab) . , , , . , , , - , , , . , () , . , , , .

? , . . , , , ( ) .

, .

+7

Source: https://habr.com/ru/post/1790418/


All Articles