It is a stateflow simulink model. I am getting the following error :- Too many input arguments. ) simout = sim('HR_Stateflow_Control_V2.slx');
1 次查看(过去 30 天)
显示 更早的评论
'HR_Stateflow_Control_V2.slx' model contains several blocks and inside those blocks I have several other virtual blocks. As the error is not specifying which part of the model contains the problem, I am not able to solve it.
1 个评论
Dinesh
2023-12-29
Could you share the model (preferably a simplified version if you can) where you can reproduce the same error?
回答(1 个)
madhan ravi
2023-12-29
It is possible that you have your own function named sim.
Type
which sim -all
in your command window
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!