It is a stateflow simulink model. I am getting the following error :- Too many input arguments. ) simout = sim('HR_St​ateflow_Co​ntrol_V2.s​lx');

'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 Comment

Could you share the model (preferably a simplified version if you can) where you can reproduce the same error?

Sign in to comment.

Answers (1)

It is possible that you have your own function named sim.
Type
which sim -all
in your command window

Categories

Products

Release

R2023b

Asked:

on 29 Dec 2023

Answered:

on 29 Dec 2023

Community Treasure Hunt

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

Start Hunting!