Changing StartTime of Protected Model

2 views (last 30 days)
Hi,
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?
Thanks

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
Edited: 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)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!