Azzera filtri
Azzera filtri

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

5 visualizzazioni (ultimi 30 giorni)
Aleksandr Shirinov
Aleksandr Shirinov il 17 Gen 2023
Risposto: Venkat Siddarth il 8 Mar 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.

Risposte (1)

Venkat Siddarth
Venkat Siddarth il 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

Categorie

Scopri di più su Fuzzy Logic in Simulink in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by