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

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개)

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

질문:

2020년 9월 21일

편집:

2020년 9월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by