Can't declare symbolic variables

2 views (last 30 days)
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?

Accepted Answer

Walter Roberson
Walter Roberson on 25 Oct 2012
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.

More Answers (1)

Warren
Warren on 29 Oct 2012
Walter- Good suggestion. I did a reinstall and everything works fine now. Thanks Warren

Community Treasure Hunt

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

Start Hunting!