AMSimulink.mdl not find after Matlab installation

1 回表示 (過去 30 日間)
Attaf Ahmed
Attaf Ahmed 2024 年 9 月 30 日
回答済み: Divyanshu 2024 年 10 月 1 日
Hi everyone
I have an issue to find the files AMSimulink.mdl and also Aspen-Matlab on C:\programfiles\Matlab\bin....... boths files not availble here after matlab installation
what I understand these two files are mandatory to connect aspentech dynamic to matlab.
in the first time when I install Matlab 2023 a it was okay ,the two files were there but after upgrade to 2024 a ,the two files not available ,even after remove then all and reinstall again the issue not solved
thank you for your help and support

回答 (1 件)

Divyanshu
Divyanshu 2024 年 10 月 1 日
A possible reason can be that those files have fallen out of MATLAB search path or some issue with 'pathdef.m' file. Here are some troubleshooting steps which you can try:
  • Save a copy of current MATLAB search path:
>> which -all pathdef
Above command gives the current location of 'pathdef.m', ensure that you make a copy of the file by copying it to a different location than its current folder.
  • Restore MATLAB Search Path and rehash toolbox cache:
>> restoredefaultpath
>> rehash toolboxcache
  • After above step, check if the issue of missing files is resolve and then you can save the new MATLAB search path to 'pathdef.m' file by following command:
>> savepath
Hope it helps!

カテゴリ

Help Center および File ExchangeSearch Path についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by