Error using construct_error (line 108)
조회 수: 3 (최근 30일)
이전 댓글 표시
I have MATLAB R2012a student edition and am running it on my MacBook Air. I have had no issues until now. I am trying to run a SIMULINK model to maintain 4 tank levels. It was running fine until I added in a User-Defined MATLAB Function block. Now when I run it I get a Build Error message from a source that is Unknown which is reported by Stateflow. The summary of the message is this: When the current directory contains a space character, it causes the generated makefiles to not work.
Please change the current directory to a different directory path that does not have a space character in its name. In the command window, I also get this message: Error using May_22_v5 (line 22) Error using construct_error (line 108) When the current directory contains a space character, it causes the generated makefiles to not work.
Please change the current directory to a different directory path that does not have a space character in its name.
I have searched how to fix this and have found that there is a possibility that there are files missing in the mex folder. I think that was right. I have uninstalled and then installed again but I still get the same issue. I purchased this from the website and have a legit licence and am fully registered to use it, so why am I missing files?? And more importantly, how do I fix it? Sam.
댓글 수: 0
답변 (1개)
Frederic Terrettaz
2012년 11월 16일
Hi Sam,
When you do a new install of Matlab, you need to run again "mex -setup" to choose your favorite compiler.
Rds,
Fred
댓글 수: 0
참고 항목
카테고리
Help Center 및 File 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!