Filter löschen
Filter löschen

Changing StartTime of Protected Model

1 Ansicht (letzte 30 Tage)
Mohammad Hukan
Mohammad Hukan am 20 Aug. 2018
Bearbeitet: Mohammad Hukan am 3 Sep. 2018
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

Akzeptierte Antwort

Sambit Senapati
Sambit Senapati am 3 Sep. 2018
Bearbeitet: Sambit Senapati am 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 Kommentar
Mohammad Hukan
Mohammad Hukan am 3 Sep. 2018
Bearbeitet: Mohammad Hukan am 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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by