Why do I get a compile error in S-Function?

3 vues (au cours des 30 derniers jours)
Aleksandr Shirinov
Aleksandr Shirinov le 17 Jan 2023
Why do I get the following error in my S-Function after running the Simulink with the S-Function?
An error occurred while running the simulation and the simulation was terminated
Caused by: Input arguments must be fis.
Component:Simulink | Category:Block error
FIS states for Fuzzy inference system.
But I do not have any fuzzy inference system in S-Function und Simulink.

Réponses (1)

Venkat Siddarth
Venkat Siddarth le 8 Mar 2023
The error message suggests that the input arguments to your S-Function or Simulink model are expected to be fuzzy inference systems, but the inputs you are providing are not in the correct format.This error can occur if you have used a fuzzy logic block in your Simulink model, even if you are not explicitly using a fuzzy inference system. It is possible that the fuzzy logic block is expecting inputs in the form of fuzzy sets or fuzzy rules, which are not being provided by the inputs to the block.
To resolve this error, you are required to check the configuration of any fuzzy logic blocks in your model and ensure that the inputs used, are in the correct format. Additionally, you can check the inputs and outputs of your S-Function and make sure they are being passed correctly and in the expected format.
I hope this resolve the issue,
Thanks and regards,
Venkat Siddarth V

Catégories

En savoir plus sur Fuzzy Logic in Simulink dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by