Predict模块中的MLFB报错
17 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
辰磊
le 15 Déc 2025 à 7:18
Réponse apportée : Jianghao Wang
le 5 Jan 2026 à 19:29
重现步骤:
1.将MatLab 2025b的仿真程序slx格式文件导出为2020b版本;
2.在MatLab 2020b中,运行仿真程序时,Predict模块中的MLFB报错。

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

0 commentaires
Réponse acceptée
Jianghao Wang
le 5 Jan 2026 à 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 时序、序列和文本深度学习 dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!