Problem In Matlab R2014a and higher, model references are no longer allowed to be hybrid systems (containing both continuous and fixed step solvers). In the past, these model references would be made completely continuous time steps if possible and the reference would inherit the time step from the parent; now you get an error similar to this: 0,Matlab,Matlab Interface,Error executing command: [~,~,~,ans] = mdlref_depgraphMxTemp([],[],[], 'compile'); Command Response: ??? The model 'mdlref_heater', which has a fixed step size of 1.0, is referencing (via the Model block 'mdlref_heater/Thermostat') the model 'mdlref_thermostat', which has a fixed step size of 60.0. Referencing a hybrid (having both discrete and continuous components) model with a different fixed step size is not supported. Solution It is required that all the model time steps are set properly if this error occurs. Note that MxVDev TestCases may produce different results in this situation.
|
Problem Normally COM objects are registered when Simulink is installed. However, when using multiple versions, manual registration may be required. If the version in use is not registered, this error may result: 0,Matlab,Failed to create Matlab COM automation server.,System.Runtime.InteropServices.COMException (0x80040155): Interface not registered (Exception from HRESULT: 0x80040155) This error may also indicate that you are using a version of MATLAB that is not supported by the version of MxSuite you are using: 2019b first supported in build 3.41.8 2019a first supported in build 3.41.8 2018b first supported in build 44802 2018a first supported in build 42159 2017b first supported in build 41830 2017a first supported in build 99538 2016b first supported in build 37343 2016a first supported in build 36717 2015b first supported in build 34408 2015a first supported in build 31983 2014b first supported in build 31004 2014a first supported in build 30750 2013b first supported in build 27920 Solution Use the procedure described in Simulink Versions. |
S-Function Connector to Simulink