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?
0 件のコメント
回答 (1 件)
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.
Please refer to this MathWorks documentation page for more information: https://in.mathworks.com/help/releases/R2024b/slrealtime/ug/troubleshoot-build-error-for-accelerator-mode.html
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Acceleration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!