Predict模块中的MLFB报错

조회 수: 17 (최근 30일)
辰磊
辰磊 2025년 12월 15일 7:18
답변: Jianghao Wang 2026년 1월 5일 19:29
重现步骤:
1.将MatLab 2025b的仿真程序slx格式文件导出为2020b版本;
2.在MatLab 2020b中,运行仿真程序时,Predict模块中的MLFB报错。
推荐的操作无法修复问题,而且程序在2025b中运行无误,为什么在2020b中却出现错误?
另外:在2020b中MLFB无法设置参数,而2025b中就可以(下图为2020b中MLFB的参数配置界面)

채택된 답변

Jianghao Wang
Jianghao Wang 2026년 1월 5일 19:29
Hello 辰磊,
Thanks for reaching out. There were known issues of the predict block, and were fixed later. You can avoid the error by upgrading to a later release, for example, as you verified using R2025b.
If you are unable to upgrade, a possible workaround in R2020b is calling a wrapper predict function from a MATLAB Function Block. This wrapper function loads the network and calls predict. However, this will not be suitable for deployment workflows.
Please let me know if you have encountered additional issues.
Thank you,
Jianghao

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 时序、序列和文本深度学习에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!