Create GUI to desktop apps

Hy, I have 2 GUI in MATLAB. the name tes1.fig, tes1.m & tes2.fig,tes2.m.. This all interdependent each other. Now I want package it. Which one should I package? if I package tes1.fig,tes1.m is the proccess second GUI will follow to become one? or how?
Please could explain or tell me? thank you

12 Comments

I do not understand what you want to achieve. What is your goal?
I want to make a desktop application from Gui that I have created. I have 2 different gui connected to each other. I have tried and got the results in the form of .mlappinstall, but the result is a file. Not in the form of .exe. What should I do so that what I make in matlab can be used by other users who don't have matlab, but can use the apps that I made? Thanks
MATLAB Compiler is the product that can create .exe .
You will need to add tes2.fig and test2.m to the list of files to be included.
which one compiler? Application compiler, Haddop compiler, Library compiler or Production server compiler?
Walter Roberson
Walter Roberson on 17 Jan 2019
Edited: Walter Roberson on 17 Jan 2019
The product name to compile for .exe is MATLAB Compiler .
Web App Compiler is part of MATLAB Compiler, but web apps are built using App Designer, which does not use .fig files. .fig files are used primarily by GUIDE. GUIDE GUI would be compiled to .exe by the MATLAB Compiler product.
The product name to build libraries is MATLAB Compiler SDK/
There is no separate compiler for Production Server: it uses the MATLAB Compiler SDK product.
There does not appear to be any compiler for Hadoop use. Running on Hadoop would generally use the Distributed Computing product, which does not involve compiling.
Yes sir, I got .exe. but when I install it error Could not find version 8.5 of the MATLAB, even though I installed the runtime
Make sure you are using the correct runtime. You can download at https://www.mathworks.com/products/compiler/matlab-runtime.html for R2012a or later.
yes sir, I have download from here. And installed too. Okay may I need reinstall
Who compiled that .exe for you? That is a different question than saying that you have m-files you want to turn into an exe.
And when you say "I have download from here", where exactly is "here"? There is no .exe on this web page of your particular question, so where is "here"?
@Mr.Image Analyst I mean I want create an .exe from my .m file. Them Mr.Walter Roberson told me using MATLAB Compiler. After I got an answer from him. I follow what him said. Finally I got an .exe file.
Then when I install that .exe I got error Could not find version 8.5 of the MATLAB. This happened because the runtime I download. Then Mr.Walter show me the link for download runtime. But I already have been download from this link https://www.mathworks.com/products/compiler/matlab-runtime.
So, I say to him, I ever download and installed runtime from this link . But I will trying reinstall
Evidently you compiled the m-files into an executable with version 8.5 of MATLAB. That means you must have your end user run the MCR run time library installer for that exact version. You can find it in the folder "C:\Program Files\MATLAB\R2015a\toolbox\compiler\deploy\win64"
If they do that, then your program will run.
Yes sir, Thank you ?

Sign in to comment.

 Accepted Answer

Image Analyst
Image Analyst on 17 Jan 2019
Call the Mathworks sales department to learn what compiler you need and how much it will cost. Just to warn you, it's VERY expensive - far more than the other typical toolboxes.

4 Comments

yes sir, Thanks for the suggest
The last price I saw (a few years ago) was roughly $US4700 for MATLAB Compiler. MATLAB Coder was over $US6000 at the time. Prices might have changed since then.
yes sir,
You seem to be using MATLAB R2015a. You would be required to update to the latest version before buying MATLAB Compiler. Mathworks does give some room for buying toolboxes for an older version, but only 1 or 2 years, not more than 3 years.

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2015a

Community Treasure Hunt

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

Start Hunting!