How to create EXE file from GUI using Matlab coder?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have built exe file using deploytool in Matlab Compiler and it is working fine. But i need exe file to be totally standalone in which no additional runtime compiler is required. I am trying to build exe file using Matlab Coder but it fails saying "variable arguments" in the main function block of GUI. Tell me any way to build exe from GUI which is free from any runtime compiler (like MCR) or any other software dependency. Thanks.
0 comentarios
Respuestas (1)
Adam
el 9 de Oct. de 2015
Editada: Adam
el 9 de Oct. de 2015
Matlab Coder does not support GUI code as far as I am aware. It wouldn't really make sense since the GUI is Matlab-based and C++ code would require additional libraries and whatnot to reproduce a UI anywhere close to Matlab.
I don't really understand what you are trying to do. Matlab Compiler creates a standalone deployable executable, Matlab Coder converts supported code to C++ (and some other languages I forget probably) code for use either externally or via mex within your Matlab application.
The standalone GUI created by Compiler will always need the Matlab Compiler runtime though. If you don't want that then you'll have to write a GUI in some other language to support code ported by Matlab Coder.
0 comentarios
Ver también
Categorías
Más información sobre MATLAB Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!