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)
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
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');

More Answers (0)

Tags

No tags entered yet.

Products


Release

R2006b

Community Treasure Hunt

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

Start Hunting!