Rapid Accelerator: Parameter value too large to download to target application
조회 수: 10 (최근 30일)
이전 댓글 표시
I am receiving this error when execution my model in Rapid Accelerator mode: 'Parameter value is too large to download to target application'.
A similar question has been asked before https://www.mathworks.com/matlabcentral/answers/319787-rapid-accelerator-disable-tunable-parameter-issue-with-sizes-of-parameters but the suggested answer to drag and drop the values into the model work space is not a sufficient solution.
One of my first questions is should I expect this warning to affect the results of my simulation? And if so, what are my options to address the warning?
Thank you
댓글 수: 0
채택된 답변
Emmanouil Tzorakoleftherakis
2018년 1월 8일
Hi Aidan,
This warning would most likely affect your results. Here are a few possible workarounds:
1. Simulate the model using the "sim" command
sim('vdp', 'SimulationMode','rapid');
2. Ensure that referenced parameters used in the model are < 2kB large when using rapid accelerator mode.
3. Move parameters into the Model Workspace, which places certain tunability limitations on these parameters and allows the model to run without warning. This can be achieved either manually through the Model Explorer or programmatically through callbacks using Simulink.ModelWorkspace
4. Place a mask on the blocks using the parameters and manually select the parameters passed in through the mask as non-tunable (uncheck the tunable setting).
댓글 수: 2
Mike Sprengel
2023년 6월 27일
I realize this is an old thread, but I ran into a similar problem today and was able to work around the issue by changing a configuration parameter (which may introduce other limitations, but was effective for my application where I was passing a large parameter structure through a block mask): Configuration Parameter > Code Generation > Default Parameter Behavior > Inlined
추가 답변 (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!