Error while using Stateflow

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 个评论

Could you please attach your model so we can try and replicate the issue?

请先登录,再进行评论。

回答(1 个)

Ravi
Ravi 2020-4-30

0 个投票

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')

类别

帮助中心File Exchange 中查找有关 Modeling 的更多信息

产品

版本

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by