DSPRelated.com
Forums

dsp kit simulink error

Started by waqa...@yahoo.com December 23, 2007
i am planning to implement my final degree project on dsk c6713 before connecting the block for my code i simply connected the DAC and the ADC blocks but it gives the following error,s

BUILT ERROR
Error building Real-Time Workshop target for block diagram 'model'. 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: ''
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)

and another erroe is
MODEL ERROR
Error building Real-Time Workshop target for block diagram 'model'. 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: ''
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)
sounds good. but whats the question?
On Dec 23, 2007 3:16 PM, wrote:

> i am planning to implement my final degree project on dsk c6713 before
> connecting the block for my code i simply connected the DAC and the ADC
> blocks but it gives the following error,s
>
> BUILT ERROR
>
> Error building Real-Time Workshop target for block diagram 'model'. 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: ''
> 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)
>
> and another erroe is
>
> MODEL ERROR
>
> Error building Real-Time Workshop target for block diagram 'model'. 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: ''
> 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)
>

--
-------------------------------
"I've missed more than 9000 shots in my career.
I've lost almost 300 games. 26 times I've been trusted to take the game
winning shot and missed.
I've failed over and over again in my life.
And that is why I succeed."
-- Michael Jordan
--------------------------------
have you set your mex command. just type mex in matlab and introduce MSVC as your compiler. Also set the environmental variable MSDevDir as wanted in the error by running system in control panel then in the advanced tab you see where you can change environmental variables in windows.

Ehsan

w...@yahoo.com wrote: i am planning to implement my final degree project on dsk c6713 before connecting the block for my code i simply connected the DAC and the ADC blocks but it gives the following error,s

BUILT ERROR

Error building Real-Time Workshop target for block diagram 'model'. 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: ''
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)

and another erroe is

MODEL ERROR

Error building Real-Time Workshop target for block diagram 'model'. 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: ''
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)

---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.