geez0x1 / CompliantJointToolbox

Compliant Joint Toolbox (CJT) for MATLAB and Simulink
GNU General Public License v3.0
38 stars 14 forks source link

Recovered Stateflow Charts #15

Open geez0x1 opened 8 years ago

geez0x1 commented 8 years ago

The Recovered Stateflow Charts issue keeps popping up, despite the deleteStateflowChart.m code.

Errors that can be seen while closing models relate to the same issue:

Warning: Error evaluating 'ModelCloseFcn' callback of SubSystem block (mask) 'my_model/JointModel'. 

Warning: Cannot open 'my_model' while it is being closed. 

Warning: Error evaluating 'ModelCloseFcn' callback of SubSystem block (mask) 'my_model/JointModel1'. 

Warning: Cannot open 'my_model' while it is being closed. 
geez0x1 commented 8 years ago

@joernmalzahn Any progress on this?

joernmalzahn commented 8 years ago

No.

geez0x1 commented 6 years ago

This remains an issue for me even in R2017a.

joernmalzahn commented 6 years ago

I have not seen any recovered stateflow char block in quite a while. @geez0x1 Is this still happening to you?

The error messages that you quote are gone with #58

geez0x1 commented 6 years ago

Yes this still happens to me. A reliable way to reproduce it seems to be opening a model (that does not have orphaned StateFlow charts), simulating it, saving it, and closing it. Re-opening will then show an orphaned chart.

Removing the chart, saving, closing, and repeating a second time, appears to fairly reliably remove the orphaned chart.