我正在尝试从sflib
( stateflow library
) 创建状态块:
chart = add_block('sflib/Chart', 'autoDS/Chart'); %Create Chart Block
state = Stateflow.State(chart); %Create State in Chart Block
state.Name = 'CMD_28V_Avion';
open_system('autoDS');
它返回给我,请问我该"No constructor 'Stateflow.State' with matching signature found" error.
如何解决?我不知道这是我在许多帖子中看到的语法还是库错误。