Unable to use Simulink's acceleration mode

4 views (last 30 days)
鹏政
鹏政 on 19 Mar 2024
Edited: Debadipto on 28 Mar 2024
In MATLAB/Simulink, when running simulation files of the same version copied from other devices in acceleration mode, the simulation can only be run when it is not changed for the first time. However, when some parameters in the model are changed, an error is reported when simulating again, which is a problem when creating an acceleration MEX file for model 'xxxxxxx'. To view the compiled output, use set_param ('xxxxxxx ',' AccelVerboseBuild ',' on ')

Answers (1)

Debadipto
Debadipto on 28 Mar 2024
Edited: Debadipto on 28 Mar 2024
The MATLAB answer linked below outlines several potential causes for the error you're facing:
https://www.mathworks.com/matlabcentral/answers/814790-why-do-i-get-the-build-error-no-rule-to-make-target
Based on the screenshots, it seems like the issue might be related to point (3) from the post, where a lengthy directory path name leads to the 'gmake' error. To resolve this problem, you can try shortening the path name as indicated in the aforementioned link.
Hope this helps!

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!