MATLAB Answers

Changing StartTime of Protected Model

1 view (last 30 days)
I'm trying to edit the simulation start time (for the solver) of a protected model. I tried setting the value of the start time as a tunable variable but that didn't work.
Can I actually edit the start time after I creat the protected model? if yes, how?


Sign in to comment.

Accepted Answer

Sambit Senapati
Sambit Senapati on 3 Sep 2018
Edited: Sambit Senapati on 3 Sep 2018
The Simulink software stores the protected model as a compiled MEX binary. Hence it is not possible to change any solver configuration once you generate a protected model. This is by design and an expected behavior of protected models.

  1 Comment

Mohammad Hukan
Mohammad Hukan on 3 Sep 2018
Thank you Sambit, I have been in contact with Mathworks technical support and they told me so. We are trying to figure out a workaround.
Thanks again :)
Regards, Mohammad

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!