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 件のコメント

Jan
Jan 2019 年 1 月 17 日
I do not understand what you want to achieve. What is your goal?
Oman Wisni
Oman Wisni 2019 年 1 月 17 日
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
Walter Roberson
Walter Roberson 2019 年 1 月 17 日
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.
Oman Wisni
Oman Wisni 2019 年 1 月 17 日
which one compiler? Application compiler, Haddop compiler, Library compiler or Production server compiler?
Walter Roberson
Walter Roberson 2019 年 1 月 17 日
編集済み: Walter Roberson 2019 年 1 月 17 日
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.
Oman Wisni
Oman Wisni 2019 年 1 月 17 日
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
Walter Roberson
Walter Roberson 2019 年 1 月 18 日
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.
Oman Wisni
Oman Wisni 2019 年 1 月 18 日
yes sir, I have download from here. And installed too. Okay may I need reinstall
Image Analyst
Image Analyst 2019 年 1 月 18 日
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"?
Oman Wisni
Oman Wisni 2019 年 1 月 18 日
@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
Image Analyst
Image Analyst 2019 年 1 月 18 日
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.
Oman Wisni
Oman Wisni 2019 年 1 月 18 日
Yes sir, Thank you ?

サインインしてコメントする。

 採用された回答

Image Analyst
Image Analyst 2019 年 1 月 17 日

0 投票

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 件のコメント

Oman Wisni
Oman Wisni 2019 年 1 月 17 日
yes sir, Thanks for the suggest
Walter Roberson
Walter Roberson 2019 年 1 月 17 日
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.
Oman Wisni
Oman Wisni 2019 年 1 月 17 日
yes sir,
Walter Roberson
Walter Roberson 2019 年 1 月 18 日
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.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

リリース

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by