robotology / whole-body-controllers

Simulink-based whole body controllers for humanoid robots.
123 stars 42 forks source link

Corrupted Stateflow block MATLAB Function #65

Closed Giulero closed 5 years ago

Giulero commented 5 years ago

Using Simulink (Matlab 2019a) and Ubuntu 18.04.

I've obtained this error running a simulink model: matlabError.txt

Even If I don't run the model in the simulink diagnostic viewer this error appears several times:

parentId != 0
Component:Stateflow | Category:Assertion error

I've also noticed that, if I try to copy a block, in the Matlab command windows appears: Cannot copy corrupted Stateflow block MATLAB Function

Also visually something is strange. For example a block is

Simulink1 and if I copy and paste it becomes simulink2

Anyway just creating another simulink model with the same blocks (I had all of them in other simulink models) "solves" the problem.