Changing StartTime of Protected Model

2 次查看(过去 30 天)
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

采纳的回答

Sambit Senapati
Sambit Senapati 2018-9-3
编辑:Sambit Senapati 2018-9-3
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 个评论
Mohammad Hukan
Mohammad Hukan 2018-9-3
编辑:Mohammad Hukan 2018-9-3
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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by