0% found this document useful (0 votes)
53 views1 page

Simulink - Dynamic System Simulation For MatLab 13

The document outlines various commands and functionalities related to the Simulink Debugger, including starting the debugger, entering commands, and accessing the MATLAB workspace. It also covers running simulations incrementally, setting breakpoints, and breaking at specific conditions. The document serves as a guide for users to effectively utilize the debugging features in Simulink.

Uploaded by

ing.jmsolis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views1 page

Simulink - Dynamic System Simulation For MatLab 13

The document outlines various commands and functionalities related to the Simulink Debugger, including starting the debugger, entering commands, and accessing the MATLAB workspace. It also covers running simulations incrementally, setting breakpoints, and breaking at specific conditions. The document serves as a guide for users to effectively utilize the debugging features in Simulink.

Uploaded by

ing.jmsolis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

close_system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

10-8
delete_block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-10
delete_line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-11
find_system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-12
gcb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-14
gcbh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-15
gcs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-16
get_param . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-17
new_system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-19
open_system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-20
replace_block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-21
save_system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-23
set_param . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-24
simulink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-26

Simulink Debugger
11
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-2

Using the Debugger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-3


Starting the Debugger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-3
Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4
Entering Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4
About Block Indexes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4
Accessing the MATLAB Workspace . . . . . . . . . . . . . . . . . . . . . 11-4

Running a Simulation Incrementally . . . . . . . . . . . . . . . . . . 11-6


Stepping by Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-6
Stepping by Time Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-7
Stepping by Breakpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-8
Running a Simulation Nonstop . . . . . . . . . . . . . . . . . . . . . . . . . 11-8

Setting Breakpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-9


Breaking at Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-9
Breaking at Time Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-11
Breaking on Nonfinite Values . . . . . . . . . . . . . . . . . . . . . . . . . 11-11

xi

You might also like