Capturing the error by set_param('modelname', 'SimulationCommand', 'start') - Matlab2014b

1 次查看(过去 30 天)
Hallo,
Is there any way to the capture the error programmatically when we start the simulation using the command "set_param('modelname', 'SimulationCommand', 'start')"?
I had even tried the try and catch. It also not working for me. For example, when i have error in the model it is not going inside the "catch" ?
Thans a lot in advance

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by