Closed 44balazs closed 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
@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.
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