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

Following up as well. Any luck anyone?
Bump - Any possible solutions yet?
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개)

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에 대해 자세히 알아보기

질문:

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