M文件调用模型时,模​型中含有模糊逻辑模块​,该如何处理f.。

编写M文件时,要调用模型,但是模型中含有模糊控制器,该如何处理模糊推理系统文件,本人尝试过先将fis文件导入工作空间,第二种方法是在编写M文件时,直接用程序语言建立fis文件并通过readfis语句导入工作空间,但是运行程序时,一直报错说fis文件没有导入到fuzzy logic controller中。希望熟悉的大神指点!不胜感激!

 Réponse acceptée

socegib
socegib le 30 Nov 2022

0 votes

现在的报错的确到了参数名不正确的地方了。
你选中这个fuzzy模块,在Command Window忠输入get(gcbh),然后再在打印出来的列表中最下方找其参数名。

Plus de réponses (0)

Catégories

En savoir plus sur Fuzzy Logic in Simulink dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!