**5.2. Application of MATLAB compiler in virtual model development**

A disadvantage of using GUI MATLAB consists in the fact, that the program can run only on a computer having installed the MATLAB program (and appropriate toolboxes containing instructions that are used in the main GUI program). This disadvantage can be suppressed by development of an executable (.exe) file from the original program. In this case the developer must install the Compiler Runtime program. The MATLAB Compiler creates a standalone executable file from the MATLAB code, which can then run in a runtime engine called *Matlab Compiler Runtime* (MCR). Once compiled, the standalone application, along with MCR, can be shared with other users for free. The only problem is that the original GUI MATLAB program cannot contain any Simulink model (mdl file). As the GUI MATLAB systems usually contain Simulink models, they have to be replaced by MATLAB programs solving mathematical model by various algorithms.
