Error while using Stateflow

1 view (last 30 days)
Md. Injamam Ul Haque
Md. Injamam Ul Haque on 4 Apr 2019
Answered: Ravi on 30 Apr 2020
While I am using Stateflow to model a battery control circuit, a same error is being showed each time. The diagnostic viewer is showing, "The current directory 'c:\program files\matlab\r2016a\bin' is reserved for MATLAB files. Please change your current directory to a writeable directory outside of the MATLAB installation area." But the simulation is saved in d drive!! How should I solve this problem??Simulation & Diagnostic Viewer
  1 Comment
Arvind Sathyanarayanan
Arvind Sathyanarayanan on 5 Apr 2019
Could you please attach your model so we can try and replicate the issue?

Sign in to comment.

Answers (1)

Ravi
Ravi on 30 Apr 2020
HI,
Change your current directory otherthan 'c:\program files\matlab\r2016a\bin''.
For example your desktop location.
My current directory is >> 'D:\2015a\bin'
to change this directory >> cd('C:\Users\Ravi\Desktop')

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!