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

조회 수: 5 (최근 30일)
Filippo Bartolozzi
Filippo Bartolozzi 2016년 4월 8일
답변: Rohit Kudva 2016년 4월 14일
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에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by