From: Dirk on
"A " <dragonboy.ali(a)gmail.com> wrote in message <fi9btg$kp2$1(a)fred.mathworks.com>...
> Hi all
>
> I have model advisor problem
>
> what is the best solution thanks
>
> I am using vista and r2007a and i have LCC compiler
> installed already
>
> i get the following error
>
> Error building Real-Time Workshop target for block diagram
> 'test123se'. MATLAB error message:
> Error using ==>
> rtw_create_directory_path.p>rtw_create_directory_path at 47
> Error creating directory 'C:\Program
> Files\MATLAB\R2007a\work\New\A1\slprj\grt' : Access is denied.
>
> thanks

just change the work-folder to another drive e.g. a data partition d:\matlab\work
it seems that the OS is protecting the c: drive.
a how-to change folder can be found her:
http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/f8-10506.html