Simulink library link not found

조회 수: 19 (최근 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
Madhu Govindarajan
Madhu Govindarajan 2018년 10월 4일
Cool, am glad it works now :)

댓글을 달려면 로그인하십시오.


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.
  댓글 수: 1
Akash Menon
Akash Menon 2018년 12월 10일
You can find the model here with the libraries attached:
You'll need to install 2017b then you can export it to 2014 if that helps.

댓글을 달려면 로그인하십시오.

카테고리

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