Missing Library for decoder in regenerative braking model
48 ビュー (過去 30 日間)
古いコメントを表示
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.
Here is a link to the model from the file sharing site: https://www.mathworks.com/matlabcentral/fileexchange/90411-bidirectional-vsi-based-regenerative-braking-for-bldc-motor
Any help or a point in the right direction would be greatly appreciated!
1 件のコメント
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
2025 年 11 月 12 日 8:02
Hi Saul,
The library was available until R2024b, as mentioned in the captured release note below..

Best regards,
Song-Hyun
その他の回答 (1 件)
Leepakshi
2025 年 11 月 12 日 10:03
編集済み: Leepakshi
2025 年 11 月 12 日 11:33
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
0 件のコメント
参考
カテゴリ
Help Center および File 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!