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

5 ビュー (過去 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 Center および File ExchangeAcceleration についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by