can any one solve this problem?

조회 수: 2 (최근 30일)
ahmed al-kady
ahmed al-kady 2015년 8월 2일
댓글: ahmed al-kady 2015년 8월 3일
Error using construct_error (line 108) The current directory is c:\program files\matlab\r2012a\bin, which is reserved for MATLAB files. Please change your current directory to a writable directory preferably outside of MATLAB installation area
  댓글 수: 2
Star Strider
Star Strider 2015년 8월 2일
No!
Unless you post relevant parts of your code so the error has a context.
ahmed al-kady
ahmed al-kady 2015년 8월 2일
this error message appear without any coding just the default function of the Matlab function block in simulink

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2015년 8월 2일
If you post the code, which causes the error, a meaningful suggestion is possible. Without any details I repeat the suggestion given in the message already:
Please change your current directory to a writable directory preferably outside of MATLAB installation area
Eitehr use cd or even better create the file name with a full path. Relative file names are prone to errors.
  댓글 수: 3
Walter Roberson
Walter Roberson 2015년 8월 2일
ahmed al-kady
ahmed al-kady 2015년 8월 3일
another error happens ('Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.')

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by