Model Reference Target Update Error

8 views (last 30 days)
Chandrashekar
Chandrashekar on 8 Oct 2012
While simulating the simulink model following error occured. "*Model Reference Target Update Error*".
This error occurs when I simulate the model containning the model reference block. If I replace model reference block with subsystem it simulates perfectly.
Also In command window it displays following error:
NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. The make command returned an error of 2 'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command, operable program or batch file.
Please can anyone help me on this error. I'm using matlab 7.9(R2009b), simulink version 7.4.
  3 Comments
Chandrashekar
Chandrashekar on 9 Oct 2012
In command window it displays following error:
NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. The make command returned an error of 2 'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command, operable program or batch file.
### Real-Time Workshop build procedure for model: 'emz01_00_emcdsel' aborted due to an error.
I cannot able to simulate the model if it contains the model reference block. If I replace with subsystem it simulates perfectly. Please can you help me on this error.
Kaustubha Govind
Kaustubha Govind on 9 Oct 2012
It looks like you need to turn on verbose build to see exactly where the make error is happening. Could you run this command first:
set_param('modelname', 'AccelVerboseBuild', 'on')
And then run the model again. You should see a more detailed error.

Sign in to comment.

Answers (0)

Categories

Find more on Manual Performance Optimization in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!