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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!