Library not loaded: @rpath/lib​mwphysmod_​common_fou​ndation_co​re_data_st​ruct.dylib

2 ビュー (過去 30 日間)
Tsung-Hsien Yang
Tsung-Hsien Yang 2020 年 11 月 10 日
回答済み: Pranav Verma 2020 年 12 月 8 日
Orignally Matlab and Simulink worked in my Mac Pro , but one day I installed Simscape Multibody and Symbolic Math Toolbox. Suddenly my Simulink interface just become blank and the following information shows up.
I have founded a lot of related problems. But I can´t find libmwphysmod_common_foundation_core_data_struct.dylib this object in my mac, and some answer mentioned DYLD_LIBRARY_PATH and LD_LIBRARY_PATH these two function, however I can´t figure it out how to use these two fuction to solve my problem.
Error using slCustomizer.staticRefresh
Unexpected exception (Bundle#409 start failed: dlopen(/Applications/MATLAB_R2019a.app/bin/maci64/builtins/physmod/sm/sli/mwphysmod_sm_sli_setup_builtinimpl.dylib,
Library not loaded: @rpath/libmwphysmod_common_foundation_core_data_struct.dylib
Referenced from: /Applications/MATLAB_R2019a.app/bin/maci64/libmwphysmod_sm_sli_setup.dylib
Reason: image not found) was caught.'

回答 (1 件)

Pranav Verma
Pranav Verma 2020 年 12 月 8 日
Hi Tsung-Hsien,
Try executing the below commands in the matlab command window:
>> restore defaultpath
>> rehash toolboxcache
>> savepath
This will restore the paths.
I hope this helps.
Thanks

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by