Why do I get a compile error in S-Function?
1 回表示 (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
回答 (1 件)
Venkat Siddarth
2023 年 3 月 8 日
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
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Fuzzy Logic in Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!