Cannot register run-time parameter for dialog parameter XX for S-function 'sf_sfun' error while compiling simulink model with stateflow chart

I am developing a simulink model which includes a stateflow chart, while doing an update diagram, I am getting the following error.
Cannot register run-time parameter for dialog parameter 15 for S-function 'sf_sfun' in XXModule Stateflow chart nameXX because the dialog parameter is empty. The same error exists for different dialog parameter numbers. Is it something related to data dictionary, and where do I find the dialog parameter numbers?

5 件のコメント

So am I... ;(
Did you solve it?
anyone has solved this issue?
Following up as well. Any luck anyone?
Brice
Brice 2025 年 2 月 11 日
Bump - Any possible solutions yet?
Arnaud
Arnaud 2025 年 5 月 12 日
Same, is it a bug ? I'm using MatlaB 2022B, impossible to find which data stateflow refer to. Only way seems to restart from scratch.

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

回答 (1 件)

Yunhan Zhao
Yunhan Zhao 2021 年 8 月 16 日
You need to check your simulink parameter. Which the Datatype shall not be auto and the value shall be []

カテゴリ

ヘルプ センター および File ExchangePrepare Model Inputs and Outputs についてさらに検索

質問済み:

NA
2020 年 10 月 23 日

コメント済み:

2025 年 5 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by