MATLAB: Is the sample time parameter saved as a constant when I use SLSAVEAS to save a model from Simulink 6.2 (R14SP2) to Simulink 5.0 (R13)

blockparametersamplesimulinkslsaveassourcetime

I have a model that has several blocks that have the parameter "Ts" as their sample time. I go to File -> Save As and save the model in Simulink 5.0 (R13) format. When I open the model in Simulink 5.0 (R13), the sample times have become 1 or -1.

Best Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
We have verified this is a bug in the way SLSAVEAS handles having a parameter as the sample time in Simulink 6.2 (R14SP2). There are currently no known workarounds.