error in the fuzzy logic controller's Evaluate Rule Consequents Block

6 次查看(过去 30 天)
I tried to design a PD controller with a fuzzy logic controller as a modification to it.
I also implemented Particle swarm Optimization algorithim to tune my controller's static variables.
But when I run my PSO.m file in order to tune my controller , I got a error---------------------------------------------------------------------------------------------
"Error occurred while attempting to call the error callback function 'Stateflow.Translate.translate' of subsystem
'SMG/Subsystem/Subsystem1/Fuzzy Logic Controller/Evaluate Rule Consequents'. The callback function should take a
block handle and error ID as input arguments, and return a character vector that replaces the error produced
within the subsystem. The following error was produced when the error callback function was called: Not enough
input arguments."
  1 个评论
Sam Chak
Sam Chak 2022-9-11
What is the system that you want to regulate with the PSO-tuned fuzzy PD?
Are you able to stabilize the system with a non-fuzzy PD compensator?
If so, does the error occur when attempting to tune only the PD gains?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Fuzzy Logic in Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by