Unable to build standalone executable in rapid accelerator mode--Unable to find VarGroupIdx within the GlobalBlockOutput scope

6 次查看(过去 30 天)
Here's the specific error message:
Unable to build a standalone executable to simulate the model MODEL in rapid accelerator mode.
Caused by:
  • Error: File: C:\Program Files\MATLAB\R2024b\rtw\c\tlc\lib\blkiolib.tlc Line: 2886 Column: 62 Unable to find VarGroupIdx within the GlobalBlockOutput scope
The offending section of code from blkiolib.tlc is:
%% Function: SLibGetBlockOutputIdentifierFromRecord ================================================
%% Abstract:
%% From the .rtw file BlockOutputs Record get its base identifier in the
%% block I/O structure to be accessed from within the accessSysIdx
%%
%function SLibGetBlockOutputIdentifierFromRecord(bo, accessSysIdx) void
%assign varGroup = ::CompiledModel.VarGroups.VarGroup[bo.VarGroupIdx[0]]
%return SLibCG_GetVarGroupElementPath(bo.VarGroupIdx, accessSysIdx, ...
System[varGroup.SysIdx].CrossNoArgFcnBound)
%endfunction
I'm not sure where to begin here. the MODEL.rtw file has GlobalBlockOutput sections, some of which have VarGroupIdx members and some of which do not. Is there a way to narrow down what's getting tripped over here?

回答(1 个)

Kautuk Raj
Kautuk Raj 2025-5-7
You are receiving this error because Simulink Real-Time does not support accelerator mode or rapid accelerator mode simulation of models with blocks that represent hardware.

类别

Help CenterFile Exchange 中查找有关 Acceleration 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by