Finicky model reference in accelerator mode
3 次查看(过去 30 天)
显示 更早的评论
I have a Simulink model (let's call it "parent") which has a referenced model (let's call it "child"). The model "child" has one inport and one outport, both defined by the same bus object; "child" can run in normal or accelerator mode (though its outputs are meaningless when run alone). When I add "child" as a Model block (i.e. model reference) in "parent" and try to run it in Accelerator mode (both the Model block's simulation mode and the simulation mode for "parent") I get the following errors in Simulink's Diagnostic Viewer (running release 14a right now):
Error: Simulink Coder Error: Nonfinite value in structure parameter is not supported
Component: Simulink | Category: Model error
Error while bringing model references of model untitled up to date: see errors reported above for details.
Component: Simulink | Category: Model error|
I can't seem to find much on this error. However, if I switch "parent" and its Model block to run in Normal mode, then the thing runs just fine.
I am unfortunately unable to share the model, but does anyone have any ideas what might be causing this error when attempting to run in Accelerator mode? Or does anyone have a suggestion on how to debug this issue? I can get the same errors by simply updating the diagram on "parent" but can't figure out how to get any further hints as to what might be causing problems.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Event Functions 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!