Cannot register run-time parameter for dialog parameter XX for S-function 'sf_sfun' error while compiling simulink model with stateflow chart
Mostrar comentarios más antiguos
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 comentarios
Roberto Paolinelli
el 11 de Mayo de 2021
So am I... ;(
Did you solve it?
danming
el 30 de Mzo. de 2023
anyone has solved this issue?
Muhammad
el 14 de Jul. de 2023
Following up as well. Any luck anyone?
Brice
el 11 de Feb. de 2025
Bump - Any possible solutions yet?
Arnaud
el 12 de Mayo de 2025
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.
Respuestas (1)
Yunhan Zhao
el 16 de Ag. de 2021
0 votos
You need to check your simulink parameter. Which the Datatype shall not be auto and the value shall be []
Categorías
Más información sobre Prepare Model Inputs and Outputs en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!