Can't declare symbolic variables

조회 수: 2 (최근 30일)
Warren
Warren 2012년 10월 25일
Mac OSX 10.8.2 When I try:
>> syms x y
I get the following error:
Invalid MEX-file
'/Applications/MATLAB_R2012b.app/toolbox/symbolic/symbolic/mupadmex.mexmaci64':
dlopen(/Applications/MATLAB_R2012b.app/toolbox/symbolic/symbolic/mupadmex.mexmaci64, 1):
Library not loaded: QtWebKit.framework/Versions/4/QtWebKit
Referenced from:
/Applications/MATLAB_R2012b.app/toolbox/symbolic/symbolic/mupadmex.mexmaci64
Reason: no suitable image found. Did find:
/Applications/MATLAB_R2012b.app/bin/maci64/QtWebKit.framework/Versions/4/QtWebKit:
truncated mach-o error: segment __LINKEDIT extends to 31858872 which is past end
of file 31858711
Error in /Applications/MATLAB_R2012b.app/toolbox/symbolic/symbolic/symengine.p>symengine
(line 26)
Error in sym (line 106)
[~] = symengine;
Error in syms (line 66)
assignin('caller',x,sym(x));
How can I fix this?

채택된 답변

Walter Roberson
Walter Roberson 2012년 10월 25일
A similar report I find about that error message for QtWebKit turned out to be due to the toolkit binary having been improperly copied to the Mac from a remote system.
I suggest trying re-installing. No promises.

추가 답변 (1개)

Warren
Warren 2012년 10월 29일
Walter- Good suggestion. I did a reinstall and everything works fine now. Thanks Warren

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by