simulink and CCS simulator
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
simulink and CCS simulator

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> DSP
Author Message
ahmadagha23
Guest





Posted: Tue Jan 04, 2005 9:26 pm    Post subject: simulink and CCS simulator Reply with quote

Hi dear friend
I created a simulink model consist only of an input a unit delay and an
output model and when i build it for ccs simulator it get me these two
error messages:

Error using ==> RTW.makertw.make_rtw
Error using ==> rtw\private\issue_inv_comp_env_val_error
Invalid setting for environment variable MSDevDir or DevEnvDir.
The setting is: 'c:\program files\microsoft visual
studio\common\msdev98'
You can verify the setting by checking for the existence of:
%MSDevDir%\..\vc\bin\vcvars32.bat (for Visual C/C++ 5.0)
%MSDevDir%\..\..\vc98\bin\vcvars32.bat (for Visual C/C++ 6.0)
%DevEnvDir%\..\tools\vsvars32.bat (for Visual C/C++ 7.0)

You must define MSDevDir or DevEnvDir to be:
set %MSDevDir%=<VisualRoot>\sharedide (for Visual C/C++ 5.0)
set %MSDevDir%=<VisualRoot>\common\msdev98 (for Visual C/C++ 6.0)
set %DevEnvDir%=<VisualRoot>\common7\ide (for Visual C/C++ 7.0)

This error may be due to an invalid preference file:
D:\Documents and Settings\ahmad\Application
Data\MathWorks\MATLAB\R14\mexopts.bat
Please run "mex -setup" at the MATLAB prompt to correct


Error building Real-Time Workshop target for block diagram 'my'. MATLAB
error message:
Error using ==> slbuild
Error using ==> RTW.makertw.make_rtw
Error using ==> rtw\private\issue_inv_comp_env_val_error
Invalid setting for environment variable MSDevDir or DevEnvDir.
The setting is: 'c:\program files\microsoft visual
studio\common\msdev98'
You can verify the setting by checking for the existence of:
%MSDevDir%\..\vc\bin\vcvars32.bat (for Visual C/C++ 5.0)
%MSDevDir%\..\..\vc98\bin\vcvars32.bat (for Visual C/C++ 6.0)
%DevEnvDir%\..\tools\vsvars32.bat (for Visual C/C++ 7.0)

You must define MSDevDir or DevEnvDir to be:
set %MSDevDir%=<VisualRoot>\sharedide (for Visual C/C++ 5.0)
set %MSDevDir%=<VisualRoot>\common\msdev98 (for Visual C/C++ 6.0)
set %DevEnvDir%=<VisualRoot>\common7\ide (for Visual C/C++ 7.0)

This error may be due to an invalid preference file:
D:\Documents and Settings\ahmad\Application
Data\MathWorks\MATLAB\R14\mexopts.bat
Please run "mex -setup" at the MATLAB prompt to correct




and it created an CCS project but its maine source code is yellow in
its list
an don't do its work when i build and execute it in CCSIDE.
what can i do?
it is interesting that i builded the model once but when i want to do
this any more or for another models it get me error.
thanks for your
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> DSP All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB