Effacer les filtres
Effacer les filtres

Unable to use custom *.fis file in simulink

3 vues (au cours des 30 derniers jours)
Siqi Wang
Siqi Wang le 3 Déc 2021
Réponse apportée : Sanju le 25 Avr 2024
Matlab version: R2019a
I'm trying to building a fuzzy controller using simulink and fuzzy toolbox. The toolbox works fine when I type function in scripts but it doesn't when using simulink. Initially I thought there had to be something to do with my installation so I tried to run it in Matlab Online but it didn't work out as well.
So this is the model I built:
the fuzzy controller looks like this:
2 inputs and 1 output
all rules had been correctly set
And I'm getting this error:
In the online attempt, only the second error message is shown.
Can anybody help? QuQ

Réponses (1)

Sanju
Sanju le 25 Avr 2024
It's advisable to utilize the most recent version of MATLAB. Therefore, consider updating MATLAB to the latest version and proceed with the following steps:
  1. Construct the Fuzzy Inference System (FIS) by setting up membership functions, rules, and other parameters.
  2. Within Simulink, include a Fuzzy Logic Controller Block and integrate the previously created FIS.
  3. Establish connections for Inputs and Outputs: Link input and output signals to the Fuzzy Logic Controller block. Typically, inputs represent system variables, while outputs control signals.
  4. Execute the simulation to evaluate the behavior and performance of the Fuzzy Inference System (FIS) embedded within Simulink.
You can also refer to the below documentation link for more information,
Hope this helps!

Catégories

En savoir plus sur Fuzzy Logic in Simulink 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!

Translated by