Predict模块中的MLFB报错
조회 수: 17 (최근 30일)
이전 댓글 표시
重现步骤:
1.将MatLab 2025b的仿真程序slx格式文件导出为2020b版本;
2.在MatLab 2020b中,运行仿真程序时,Predict模块中的MLFB报错。

推荐的操作无法修复问题,而且程序在2025b中运行无误,为什么在2020b中却出现错误?
另外:在2020b中MLFB无法设置参数,而2025b中就可以(下图为2020b中MLFB的参数配置界面)

댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 时序、序列和文本深度学习에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!