Hi all i am trying to build a project in ccs via matlab .For this i am using
link for code composer studio.
when i "incremental build" my simulink model i receive the following errors
-----
Error building Real-Time Workshop target for block diagram 'Am'.
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%=\sharedide (for Visual C/C++ 5.0)
set %MSDevDir%=\common\msdev98 (for Visual C/C++ 6.0)
set %DevEnvDir%=\common7\ide (for Visual C/C++ 7.0)
This error may be due to an invalid preference file:
C:\Documents and Settings\wajahat\Application
Data\MathWorks\MATLAB\R14\mexopts.bat
Please run "mex -setup" at the MATLAB prompt to correct
-----------------------------------
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%=\sharedide (for Visual C/C++ 5.0)
set %MSDevDir%=\common\msdev98 (for Visual C/C++ 6.0)
set %DevEnvDir%=\common7\ide (for Visual C/C++ 7.0)
This error may be due to an invalid preference file:
C:\Documents and Settings\wajahat\Application
Data\MathWorks\MATLAB\R14\mexopts.bat
Please run "mex -setup" at the MATLAB prompt to correct
------------------------------
what should i do do remove this error.
regards
wajahat