Borrar filtros
Borrar filtros

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

5 visualizaciones (últimos 30 días)
Aleksandr Shirinov
Aleksandr Shirinov el 17 de En. de 2023
Respondida: Venkat Siddarth el 8 de Mzo. de 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.

Respuestas (1)

Venkat Siddarth
Venkat Siddarth el 8 de Mzo. de 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

Categorías

Más información sobre Fuzzy Logic in Simulink en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by