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 ExchangeDeployment, 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