MATLAB: Changing StartTime of Protected Model

protected modelsimulinksimulink codersolverstart timestarttime

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

Best Answer

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.
Related Question