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 个评论
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!