troubleshoot rapid accelerator build process
44 次查看(过去 30 天)
显示 更早的评论
I have a Simulink model I run routinely in rapid accelerator mode. My problem is the build process is strangely inconsistent. Sometimes, when I call Simulink.BlockDiagram.buildRapidAcceleratorTarget, everything goes smoothly, and builds all in one call. Other times, the same call only builds one sub-model at a time, and raises an error, but eventually succeeds when I up-arrow and hit return on the same build command, 16 times in a row. I am trying to figure out what Simulink and I are doing differently in the two cases, but I am just not seeing it.
My most recent clue is the file build times. When all is well, the overall build process from a blank slate takes about 5 minutes. When I look at the times from a build that went poorly, mexa64 files and slxc files are interleaved, one of each for each sub-model. When I look at the times from a build that went smoothly, all 16 mexa64 files are older than all of the slxc files.
Can anyone tell me what might be causing rapid accelerator to only sometimes build all the mexas first, or how I can convince it to do that every time?
0 个评论
回答(1 个)
Supraja
2024-11-4,14:38
Hello,
I understand that you are observing difference in behavior while using the command '' in MATLAB.
Refer to the documentation here for more info and possible workarounds:
If these does not help, let me know the code which you are using.
I hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multicore Processor Targets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!