| Contents | Index |
sedebug(sys)
sedebug(sys, opts_struct)
sedebug(sys) begins a SimEvents debugger session on a model. sys is the name of the top-level system. After you enter this command at the MATLAB command prompt, the prompt changes to sedebug>>. At the new prompt, you can enter debugging commands.
sedebug(sys, opts_struct) applies debugging options in opts_struct. To obtain an options structure in the correct format, use se_getdbopts. You can set the StartFcn field of opts_struct to a cell array of strings representing commands that the debugger executes after the debugger session begins.
Start and end a debugger session for a SimEvents model:
Begin a debugger session for a particular model. At the MATLAB command prompt, enter:
sedebug('sedemo_count_attributes')The output is:
*** SimEvents Debugger *** Functions | Help | Watch Video Tutorial %==============================================================================% Initializing Model sedemo_count_attributes sedebug>>
End the debugger session. At the sedebug>> prompt, enter:
sedb.quit

Model electronic system architectures, process flows, and logistics as queuing systems or agent-based systems.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |