How do I solve the Model reference argument problem?

Hello, I'm trying to replace the Simulink model that use Embedded Coder R2014b with R2018a.
When I simulate the model using Model Reference Arguments in R2014b, it works.
Unfortunately, when I simulate the model in R2018a, it doesn't work because of the non-tunable parameter 'Delay Length' of the discrete 'Delay' block.
In the referenced model, I use Accelerator mode to simulate the model.
I make the Simulink.Parameter to use model reference arguments. And then I use the parameter in each referenced Model Workspace.
So, I changed referenced model parameter (simulink.Parameter) as shown below. But it still does not work.
% enginenseframeparam.CoderInfo.StorageClass = 'ImportedExtern';
enginenseframeparam.CoderInfo.StorageClass = 'SimulinkGlobal';
% enginenseframeparam.CoderInfo.StorageClass = 'Auto
If you are familiar with this cause, could you give me some advice? Thank you for your advice.

Respuestas (0)

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Centro de ayuda y File Exchange.

Productos

Versión

R2018a

Preguntada:

el 26 de Feb. de 2019

Editada:

el 27 de Feb. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by