필터 지우기
필터 지우기

Error using mex (line 206) Unable to complete successfully.

조회 수: 3 (최근 30일)
Jörg
Jörg 2016년 3월 4일
댓글: Walter Roberson 2019년 3월 7일
Hello guys,
i am trying to run a script, but i get the following error:
Precompiling functions in /usr/local/etherlab/rtw/blocks
world_time.c:16: fatal error: simstruc.h: No such file or directory
compilation terminated.
mex: compile of ' "world_time.c"' failed.
Error using mex (line 206)
Unable to complete successfully.
Error in setup (line 9)
mex world_time.c
Error in run (line 57)
evalin('caller', [s ';']);
Error in setup_etherlab (line 11)
run blocks/setup.m
does anyone know what i can do? I am using Matlab R2012a 32bit on a 12.04 Xubuntu 32 bit machine.
I have installed all the required compilers, but somehow it still doesn't work.
Thank you in advance
mitja

답변 (2개)

Walter Roberson
Walter Roberson 2016년 3월 4일
except you will need the equivalent, not a .bat file.
  댓글 수: 2
Jörg
Jörg 2016년 3월 4일
Thank you for your answer! I already tried to do that. In my matlab /bin folder there is a mexopts.sh which i open with leafpad, but there sadly is no line of code that says: " set INCLUDE= ... " i think the file in linux is different from the windows mexopts.bat ..

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


Patricia Holden
Patricia Holden 2019년 3월 6일
Is there a resolution to this problem? The link in the original answer is nonexistent.

카테고리

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