Simulink library link not found

22 次查看(过去 30 天)
Akash Menon
Akash Menon 2018-10-1
评论: Akash Menon 2018-12-10
Hi,
I recently got a file from file exchange and ran the simulink model on Matlab 2018b and it worked. Now I have successfully exported it to 2016b and it gives me an error saying that for one of the components inside- it could not link to it. It gives a 'blockerror'
Is this an issue with the path? If so, how can I find where it is?
Here's a link to the problem: https://youtu.be/Tl8eJgye7R8
Hope someone can help me! Thanks!
  1 个评论
Amine mohamed
Amine mohamed 2018-12-2
编辑:Amine mohamed 2018-12-2
Hi ! I've a 2014 matlab version, please could you upload the missing library to run 'spsDieselMotorModel' ? thank you !

请先登录,再进行评论。

回答(2 个)

Madhu Govindarajan
Madhu Govindarajan 2018-10-2
If you type which -all spsDieselMotorModel in MATLAB R2016b, it might say 'spsDieselMotorModel' not found.
This must be part of a toolbox that you are missing in R2016b, but have in R2018b. Find the difference between installed toolboxes using ver and you should be able to fix this issue.
Madhu
  2 个评论
Akash Menon
Akash Menon 2018-10-3
Hi Madhu,
I fixed it!
Thanks for your answer- indeed- the library was missing but apparently it was a custom made library so I managed to right click on it in 2018b and open the library location- after that I just exported that library to 2016b & included it in the path and now my model works!
Akash

请先登录,再进行评论。


Amine mohamed
Amine mohamed 2018-12-2
Hi ! I've a 2014 matlab version, please could you upload the missing library to run 'spsDieselMotorModel' ? Thank you.

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

产品


版本

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by