Why do I receice an error '| was unexpected at this time.' when I run my model in accelerated mode in Simulink Accelerater (R2006b)?
3 views (last 30 days)
Show older comments
I have a model which contains an S-function block which calls a C-function. I am able to run my model normally. However when I run my model in accelerated mode, I receive the following error message, during the build process:
| was unexpected at this time.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This issue is due to the 'AccelMakeCommand' being defined incorrectly. The AccelMakeCommand can be used to specify custom make command. To find out the value of 'AccelMakeCommand', execute the command below:
get_param(gcs,'AccelMakeCommand');
To set the 'AccelMakeCommand' to default, execute the following command:
set_param(gcs,'AccelMakeCommand','make_rtw');
0 Comments
More Answers (0)
See Also
Categories
Find more on Configure Block Features for MATLAB S-Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!