This is a frequently recurring question that can however not be answered without further clarification of what is specifically intended, as possibilities are many. Below are a number of options that have been explored in the past:
[list]
[li]Calling the Tornado command-line experiment executor from MATLAB[/li]
[li]Integration of Tornado with MATLAB through Tornado’s MEX wrapper[/li]
[li]Integration of Tornado with MATLAB through .NET[/li]
[li]Conversion of flat MSL / Modelica models to S-functions (for use with MATLAB/Simulink)[/li]
[li]Conversion of a MATLAB fuzzy inference system (FIS) to executable code for Tornado[/li]
[li]Generating a C-callable DLL from MATLAB M code that can be invoked from MSL / Modelica models[/li]
[/list]
Please have a look at the attached document for further information on these options.