Running GUI calling Simulink on a computer without Matlab installed on it

3 次查看(过去 30 天)
Dear All,
using GUIDE I created a GUI and I modified the related matlab script (I mean, the .m file, whose name is exactly the one of the .fig GUI I'm talking of, automatically produced by GUIDE when I created the GUI) so that a simulation of a Simulink model could be launched, and parameters could be passed to the model (through the 'set_param' command). After the simulation, a basic postprocessing is performed on the data coming from Simulink, and some results are printed to file. The program works fine.
I'm writing to You since at the moment, I need to share my program with other people, who need to use it on computers that don't have Matlab installed on them. Is it possible to do such a thing (I read that the 'set_param' and 'sim' commands can't be compiled by Matlab)? Is there a way I can deploy my program to other people? What steps should I follow to reach my goal?
Thanking You in advance, I'll wait for Your reply.
Best regards,
Filippo Bartolozzi

回答(1 个)

Rohit Kudva
Rohit Kudva 2016-4-14
Hi Filippo
MATLAB Compiler allows one to compile their MATLAB code to create a standalone executable that can be distributed royalty-free to users who do not need MATLAB. Unfortunately there are a couple of reasons why certain functions are not deployable. Simulink functions, in general, will not work. Please refer to the this link to view the list of functions that cannot be compiled
-Rohit

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by