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

조회 수: 6 (최근 30일)
Abhishek
Abhishek 2022년 9월 10일
댓글: Sam Chak 2022년 9월 11일
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