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) . , , , . , , , - , , , . , () , . , , , .
? , . . , , , ( ) .
, .