Why do I get an error message related to DAStudio when I try to build my model in accelerator mode using Simulink 7.7(R2011a)?

2 views (last 30 days)
I have a Simulink model in R2011a. When I try to build the model in accelerator mode it throws errors related to DAStudio. Below is an error message generated when I tried to build the demo model 'vdp'.
Error: Simulink Coder Error: Error occurred when generating rtwtypes.h:
Error using ==>  DAStudio.DiagMsg.findhtmllinks>is_a_file_1 at 298
Invalid Simulink object name GPU_Callback_En
 

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 7 Jul 2015
This error message is typically observed when  '<MATLABROOT>\toolbox\shared\dastudio’ is not available on MATLAB path. Try adding the following two paths to MATLAB path using 'addpath' and 'savepath' commands:
1) <MATLABROOT>\toolbox\shared\dastudio 
2) <MATLABROOT>\toolbox\shared\dastudio\depviewer
<MATLABROOT> is a path to the directory where MATLAB is installed. Type 'matlabroot' on MATLAB command terminal to see path to the MATLAB root directory.

More Answers (0)

Categories

Find more on Simulink Environment Customization in Help Center and File Exchange

Products


Release

R2011a

Community Treasure Hunt

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

Start Hunting!