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.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2019년 2월 26일

편집:

2019년 2월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by