Missing Library for decoder in regenerative braking model

조회 수: 45 (최근 30일)
Saul
Saul 2025년 11월 9일
댓글: Shalini 2025년 12월 9일 3:40
I'm a relatively novice user of matlab.
I'm currently trying to run this model/simulation that is for a regenaritve braking model. I've hit this snag where the decoder in the model says "DriveInternalModel" not found. I've been trying to figure out or not if this library needs to be installed, if the model is incorrect, or if it's something else. This is the error code.
Error:Failed to load library 'AC7DriveInternalModels' referenced by 'BLDC_Battery_2018/Controller/Decoder'.
This is also the image of the source block.
Any help or a point in the right direction would be greatly appreciated!
  댓글 수: 1
Shalini
Shalini 2025년 12월 9일 3:40
I installed MATLAB 2024b, Error:Failed to load library 'AC7DriveInternalModels' referenced by 'Regenerative_Brakes_PMSM/Controller/Decoder'. how to resolve this error

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

채택된 답변

Song-Hyun
Song-Hyun 2025년 11월 12일
  댓글 수: 1
Saul
Saul 2025년 11월 17일
Thank you. I installed an older version of matlab (the R2018a version) which was the one that was used to make the model, and everything was working. Based on yours and Leepakshi's answer, the library was indeed removed. Thank you all for the help!

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

추가 답변 (1개)

Leepakshi
Leepakshi 2025년 11월 12일
편집: Leepakshi 2025년 11월 12일
Hi Saul,
I tried running it on the latest versions—R2024b, R2025a, and R2025b—but I am still getting the same error. It must have been removed from later versions.
If needed, you can connect with MathWorks Support using the following link: https://www.mathworks.com/support/contact_us.html
Hope this helps!
Thanks

카테고리

Help CenterFile Exchange에서 Model, Block, and Port Callbacks에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by