Info

This question is closed. Reopen it to edit or answer.

sf_runtime​/stateflow​_mdl_metho​ds.stub error?

1 view (last 30 days)
Liqun Wu
Liqun Wu on 10 Sep 2021
Closed: Liqun Wu on 10 Sep 2021
Hello,
I am trying to call c functions in Matlab code used in Stateflow. But I got the following fatal error:
/home/lwu/workspace/m90418/vAA/system/models/Simulink/m90418_commutation_controller/slprj/_sfprj/m90418_Commutation_Controller/_self/sfun/src/m90418_Commutation_Controller_sfun_registry.c:273:49: fatal error: sf_runtime/stateflow_mdl_methods.stub: No such file or directory
#include "sf_runtime/stateflow_mdl_methods.stub"
What I did wrong?

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!