필터 지우기
필터 지우기

system_dependent.m apparently corrupted

조회 수: 11 (최근 30일)
Kevin J. Delaney
Kevin J. Delaney 2012년 2월 25일
편집: Christopher Mauer 2020년 1월 24일
In compiling a simple "hello world" function, I get the error regarding the file system_dependent.m, saying "The input character is not valid in MATLAB statements or expressions." Sure enough, opening system_dependent.m in the MATLAB editor shows it full of what looks like binary data.
How do I replace/repair this file? What's corrupting it?
Thanks, Kevin

답변 (2개)

Robert Jenkins
Robert Jenkins 2015년 9월 21일
Hi, Kevin.
I'm running into this same problem today. Although It was 3 years ago, did you ever find a solution to this problem?
Thanks!
  댓글 수: 1
Kevin J. Delaney
Kevin J. Delaney 2015년 9월 21일
No--and now I can't even find system_dependent.m!

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


Christopher Mauer
Christopher Mauer 2020년 1월 24일
편집: Christopher Mauer 2020년 1월 24일
I'm guessing you guys still have not found a solution? Same problem. Tried several versions of matlab. Even cleaned my registry and temp files, updated windows, etc. Nothing seems to work.
EDIT:
There was a directory that was placed on my matlab path called something like:
*/example/
This directory contained the system_dependent.m file in */example/fsroot/toolbox/compiler/system_dependent.m. It appears to be used by the matlab compiler, so it appears as a *.m file (hence the invalid text character, it was an encrypted file!). I am not sure how the directory ended up where it did, but I could not make any sense of its location.
SOLUTION:
Remove */example/ from your path, or better yet, delete */example/ altogether.

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by