DAStudio error when opening stateflow chart in Matlab 2011b

2 次查看(过去 30 天)
When opening a stateflow chart in one of my Simulink models i get the following error:
Attempt to reference field of non-structure array.
Error in sfgetinterface>getDebugSetting (line 1434)
debugSetting = cs.getComponent('Simulation Target').SFSimEnableDebug;
Error in sfgetinterface>compute_DebugItems_state (line 1424)
switch(getDebugSetting(cbInfo.model.Name))
Error in sfgetinterface>compute_EnableDebuggingItem_state (line 1466)
state = compute_DebugItems_state(cbInfo);
Error in sfgetinterface>EnableDebuggingMenuItem (line 1452)
schema.state = compute_EnableDebuggingItem_state(cbInfo);
Error in slsf>blk_open_method (line 554)
sf('Open', chartH);
Error in slsf (line 60)
out = blk_open_method(blockH, machModelH);
Warning: Schema generator function did not return a DAStudio.ToolSchema
Attempt to reference field of non-structure array.
Error in sfgetinterface>getDebugSetting (line 1434)
debugSetting = cs.getComponent('Simulation Target').SFSimEnableDebug;
Error in sfgetinterface>compute_DebugItems_state (line 1424)
switch(getDebugSetting(cbInfo.model.Name))
Error in sfgetinterface>StateflowDebuggerMenuItem (line 1479)
schema.state = compute_DebugItems_state(cbInfo);
Error in slsf>blk_open_method (line 554)
sf('Open', chartH);
Error in slsf (line 60)
out = blk_open_method(blockH, machModelH);
Warning: Schema generator function did not return a DAStudio.ToolSchema
Attempt to reference field of non-structure array.
Error in sfgetinterface>getDebugSetting (line 1434)
debugSetting = cs.getComponent('Simulation Target').SFSimEnableDebug;
Error in sfgetinterface>compute_DebugItems_state (line 1424)
switch(getDebugSetting(cbInfo.model.Name))
Error in sfgetinterface>compute_ClearAllBreakpointsMenuItem_state (line
1500)
state = compute_DebugItems_state(cbInfo);
Error in sfgetinterface>ClearAllBreakpointsMenuItem (line 1489)
schema.state = compute_ClearAllBreakpointsMenuItem_state(cbInfo);
Error in slsf>blk_open_method (line 554)
sf('Open', chartH);
Error in slsf (line 60)
out = blk_open_method(blockH, machModelH);
Warning: Schema generator function did not return a DAStudio.ToolSchema
We are using both Matlab 2011b and Matlab 2007b. Could this problem originate from creating a model in the earlier Matlab version and changing it in a later version? Does anyone have similar problems when opening a Stateflow chart?
Kind regards,
Thijs

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Complex Logic 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by