AMSimulink.mdl not find after Matlab installation

4 次查看(过去 30 天)
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!

标签

Community Treasure Hunt

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

Start Hunting!

Translated by