viatra / massif

Massif is a Matlab Simulink Integration Framework for Eclipse
https://viatra.github.io/massif/
Eclipse Public License 1.0
20 stars 14 forks source link

#194 Skip BlockKeywords block property #213

Closed 44balazs closed 3 years ago

44balazs commented 3 years ago

I was able to import simulink models (_sldemo_clutchimport.mdl, _ExampleMATLAB.slx from the repository) using MATLAB R2021a by skipping the BlockKeywords block property (which will be a com.mathworks.jmi.types.MLArrayRef in Java, that cannot be serialized as stated in https://github.com/viatra/massif/issues/194#issuecomment-505887676) in _massiffunctions.m. The description of BlockKeywords can be found here: https://mathworks.com/help/simulink/slref/common-block-parameters.html

ujhelyiz commented 3 years ago

@abelhegedus, could you please look at this change - it seems reasonable to me, but I am less familiar with the Simulink models, and it would be nice to have another eye on this. Thanks.