I am getting a message upon executing a simulink model as follows

7 views (last 30 days)
" Unable to create directory: C:\Program Files\MATLAB\work1\slprj
Access is denied."
pl tell us what could be the problem and what is the solution

Answers (1)

Image Analyst
Image Analyst on 23 Dec 2014
Windows does not allow you to create folders under the Program Files folder from your program. You will have to choose a folder somewhere else, like under "C:\users\Ravi\documents" or "C:\ProgramData" or a subfolder of wherever your m-files are being created.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!