Windows XP and Windows 7
조회 수: 5 (최근 30일)
이전 댓글 표시
I install matlab on both above tow OS , it works well on XP and not on Windows 7
댓글 수: 5
Jan
2012년 6월 27일
Ah, well. This error message means, that M is not a struct. Without seeing the code, it is impossible to guess, what the problem is. But you do have the power to use the debugger to step through your code until you find out, why M is not defined as you expect.
Please read: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
답변 (4개)
Paul Metcalf
2012년 6월 27일
I've had no issue running MATLAB on Windows 7.
댓글 수: 2
Walter Roberson
2012년 6월 27일
debasish, there are a number of documented problems in running earlier versions of MATLAB on Windows 7.
Jan
2012년 6월 27일
Matlab 2012a is compatible with Windows7 in general.
You hesitate to explain, what "does not work" explicitly means. So I can only guess: When you install the 32-bit Matlab on a 64 bit Windows, the program folder is created in "C:\Program Files (x86)". Some functions will fail due to the spaces in the path. Therefore I've created "C:\ProgramFiles_" in addition and create the 32-bit Matlab there.
댓글 수: 0
Sean de Wolski
2012년 6월 27일
dbstop if error
Then run your script. What is M? I am willing to guess it is not a struct and thus why you are getting that error.
This likely has nothing to do with OS.
댓글 수: 1
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!