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 个评论
Roberto Paolinelli
2021-5-11
So am I... ;(
Did you solve it?
danming
2023-3-30
anyone has solved this issue?
Muhammad
2023-7-14
Following up as well. Any luck anyone?
Brice
2025-2-11
Bump - Any possible solutions yet?
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
2021-8-16
0 个投票
You need to check your simulink parameter. Which the Datatype shall not be auto and the value shall be []
类别
在 帮助中心 和 File Exchange 中查找有关 Prepare Model Inputs and Outputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!