フィルターのクリア

Warning of S-function builder block in Simulink

4 ビュー (過去 30 日間)
gdz
gdz 2022 年 12 月 27 日
コメント済み: Mark McBroom 2023 年 1 月 12 日
Hi,
I have received the following warning in simulink when I run a S-function builder block.
Source 'Max6675_Sfunction_builder3/S-Function Builder' specifies that its sample time (-1) is back-inherited. You should explicitly specify the sample time of sources. You can disable this diagnostic by setting the 'Source block specifies -1 sample time' diagnostic to 'none' in the Sample Time group on the Diagnostics pane of the Configuration Parameters dialog box.
Also in the Command Window of Matlab, it said
Invalid S-function Builder version found in: 'C:\Users\user\Desktop\TrySimulinkDesktop\MAX6675_Probe.c' Using default parameters
May I know how to solve this problem? Thank you.

採用された回答

Mark McBroom
Mark McBroom 2022 年 12 月 29 日
Did you move to a new version of MATLAB? If you, try deleting or renaming the C file referenced in the Command Window error message and then rerun the simulation.
  2 件のコメント
gdz
gdz 2023 年 1 月 12 日
I am using the R2020a version of matlab. Do i require to update Matlab?
Mark McBroom
Mark McBroom 2023 年 1 月 12 日
Your current version of MATLAB should work. Try deleting the C file that is in the warning message.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAuthor Blocks Using S-Function Builder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by