https://kr.mathworks.com/help/simbio/ref/sbiolasterror.html
sbiolasterror - SimBiology last error message - MATLAB
This MATLAB function or diagstruct = sbiolasterror return a SimBiology diagnostic structure array containing the last error(s) generated by the software.
error messagesimbiologylastmatlab