Standalone Application Compiler for OSX
7 次查看(过去 30 天)
显示 更早的评论
I'm confused on the process for generating a standalone application for OSX, using Application Compiler.
I've read all the documentation i can find, but was still unclear, and in fact it tends to confuse me more :D Random youtube videos seem to shed the most light -- but perhaps I haven't found the right Matlab documentation.
I'm generating an application, say called Test. It should be a standalone application, so I select "Runtime included in package" (i left the default called MyAppInstaller_mcr) in the Application Compilers, so that everything is included in the package.
My expectation for the result: I can run Test via double click if i copy the executable over, or command line.
But what I get is an application i need to install. Or ifi try and run via cmd line, it requires manually inputting location of the MCR: run_test.sh <path> args.
What am I missing in my understanding of what a standalone application involves?
Is there a way to achieve what I'm trying to, ie copy over a single file to OSX (or linux, etc, depending on what platform i compile on), and just run the executable?
回答(1 个)
Walter Roberson
2023-8-7
MATLAB Compiler is not designed to do what you want.
MATLAB Compiler is designed to produce a self-extracting executable that needs to effectively be installed.
In order to create a simple just-copy-and-execute executable you would need to use MATLAB Coder -- which would greatly restrict your ability to use graphics
15 个评论
John
2023-8-7
"MATLAB Compiler is designed to produce a self-extracting executable that needs to effectively be installed."
Some tutorials seemed to show a large .exe being the output, which seems to be just click and execute. Or perhaps that's the Windows version, and OSX and Linux need to be installed?
I don't require graphics, so could go the Coder route.
Walter Roberson
2023-8-8
The MATLAB Compiler Runtime (MCR) is effectively a separate application that needs to be installed. When you include the runtime in your App and copy the App to a system and run the App there, then the App will detect that MCR is not installed and will need to install it.
In cases where the correct version of MCR is already installed, then no install step is needed: if your target machine already has the right MCR then you can copy your App to it and the App will execute without needing an install step.
Note that the version of MCR must match the version the App was compiled with -- so unfortunately if you already had R2022b MCR installed on a system but started building apps with R2023a then the new apps would need to install a new MCR -- and in some cases when you install an Update (for example R2022b Update 5 when you were running Update 4) then that can end up requiring a new MCR as well.
MATLAB Coder, on the other hand, does not need MCR, and so does not need a separate install step for it.
John
2023-8-8
编辑:John
2023-8-8
That's helpful, thanks. Good to know about update differences!
The issue with Coder is that I'm blocked by just one or two unsupported functions that i can't manually recreate, eg orderschur(); or in another implementation of the same thing as a way around that, using a syms variable so that i can use solve().
Odd that schur() is supported but orderschur() is not...
Walter Roberson
2023-8-8
Unfortunately, nothing in the Symbolic Toolbox can be compiled, and I have not heard of any plans to change that. (I would not go as far as to say it will "never" happen, but I haven't heard any murmurs that Mathworks is working on it.)
I do not have any idea at the moment why compilation is not supported for ordschur()
John
2023-8-8
Just to check, by "compiled", you mean both Coder and Application Compiler?
I think you mean Coder since Application Compiler has MRC, but double checking.
"I do not have any idea at the moment why compilation is not supported for ordschur()"
Yeah, it's unfortunate...it's the one blocking step for the full pipeline working.
At the moment I don't know of a way to bypass it, so I might have to try and move this application to Python, unfortunately.
Walter Roberson
2023-8-8
Neither MATLAB Compiler nor MATLAB Coder can do anything with the Symbolic Toolbox.
The Symbolic Engine runs as a separate process that is communicated with using TCP. The Compiler does not copy in that process, so even if you were able to compile the MATLAB-level code using the symbolic toolbox, there would be a failure the first time you used syms or anything else in the toolbox as even syms requires talking to the separate process.
Walter Roberson
2023-8-8
You might perhaps call into LAPACK directly; https://www.netlib.org/lapack/lawnspdf/lawn171.pdf and https://www.mathworks.com/help/matlab/matlab_external/calling-lapack-and-blas-functions-from-mex-files.html
John
2023-8-8
@Walter Roberson Thanks :) "The Compiler does not copy in that process" "there would be a failure the first time you used syms" Okay, good to know. Is it documented anywhere that code may compile, but fail when run?
"You might perhaps call into LAPACK directly"
To make sure i understand, do you mean i'd use Matlab's library: "MATLAB® provides the mwlapack and mwblas libraries in matlabroot/extern/lib" (from your link)
or
that i would install LAPACK eg on a unix function, and use a matlab accessor function to call them: "Add an underscore character following the function name when calling LAPACK or BLAS functions on a UNIX® system." (also from your link)
Just asking to see which path you're recommending i explore...
Walter Roberson
2023-8-8
编辑:Walter Roberson
2023-8-10
MATLAB Compiler produces a list of functions that you used but which could not be compiled. That list will include everything in the Symbolic Toolbox -- the entire toolbox is blocked from being compiled.
If you loadlibrary() or use the java or C++ interface or you use Simulink S-functions to invoke content inside a DLL... then there is always the possibility that the target system will not have the necessary DLL / shared-object installed.
If you use hardware OpenGL on a Linux system, there is always the possibility that the destination system does not have a compatible vendor OpenGL DLL available.
If you use Linux and build correctly... there is always the possibility that the destination system might be missing some DLL because it is a different distribution, or that it might have an incompatible version of a standard library such as libC.so
If you build on Windows with one of the Microsoft compilers... there is always the possibility that the destination system does not have the required Runtime Redistributable.
Or it could turn out that the destination Windows system does not have a necessary Windows Media codec.
It is pretty uncommon these days for an executable to be truly stand-alone, not reliant on even one component that the operating system considers "optional" -- and not reliant on even one component that has been the target of at least one bug fix or security fix at some point since the time the operating system (such as "Windows 10") was first introduced. You can request "static linking" if you work on it... but statically linked executables are mostly only used for programs or utilities that are intended to be able to execute in Safe Boot.
John
2023-8-9
编辑:John
2023-8-9
1) So, there may be ways for Coder to access non-matlab libraries (eg LAPACK, as you pointed out), but it may be brittle if expecting it to univerally work on all other systems -- but it might work well on that specific computer. Did i understand that right?
2) I'm trying to understand this comment:
"MATLAB Compiler produces a list of functions that you used but which could not be compiled. That list will include everything in the Symbolic Toolbox -- the entire toolbox is blocked from being compiled. "
I thought this doesn't include Application Compiler though that uses MRC, though, and by "compile" you mean Matlab Coder (and not Application Compiler)? Or do you mean Sym toolbox is blocked in ALL cases?
I tried compiling an Application, and the program seems to run, and it does include sym. So i'm trying to understand why this seemingly worked and gave the expected outputs...but I also might not realize that it didn't work in some fashion.
3) Where are the libraries?
From your link: "MATLAB® provides the mwlapack and mwblas libraries in matlabroot/extern/lib"
Here's what i have, but i might be in the wrong path.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1454487/image.png)
Walter Roberson
2023-8-10
Toolboxes not supported by MATLAB Compiler include:
- Simulink (and all associated products)
- Simscape, Simevents, and related
- The "blockset" toolboxes
- the "Kit"s
- the Coders
- the Verifiers
- the Servers
- Antenna
- autosar
- Model Based Calibration
- Polyspace related
- RF PCB
- Robust Control
- SerDes
- Signal Integrity
- Requirements
- Symbolic
- System Composer
- ThingSpeak
- HDL related
I might have missed one or two.
John
2023-8-10
编辑:John
2023-8-10
1) Thanks! But I'm still confused on what Matlab Compiler is. Is it the backend to both Coder and Application Compiler? (Confusing since Application Compiler has the word compiler in it)
How is Matlab Compiler related to Matlab Runtime Compiler, if at all?
Or is Matlab Compiler used only for Coder?
If the latter and Compiler only used for Coder, what does Application Compiler use?
The naming is very confusing, and Matlab documentation doesn't clarify:) (that i've found)
I tried compiling an app using Application Compiler; the program seems to run, and it does include sym, but I might be not realizing it won't work if removed from this machine and used with MRC only, etc.
2) Any thoughts on my question (3) from the last message? ("Where are the libraries?")
Steven Lord
2023-8-10
MATLAB Compiler
MATLAB Compiler generates an application that uses the MATLAB Component Runtime (MCR) instead of MATLAB to run the code that was present in your application when that application was created. It supports a larger subset of the MATLAB language and MathWorks toolboxes than MATLAB Coder does (most notably, many graphics functions work in a MATLAB Compiler generated application.) But not everything is supported for use with MATLAB Compiler, as shown in the link Walter posted. In particular, neither the sym function nor the syms function are supported for use with MATLAB Compiler.
MATLAB Coder
MATLAB Coder generates C or C++ code (and perhaps other languages, I don't remember off the top of my head) from MATLAB code. You don't need the MCR to run that generated code (just a C or C++ compiler), but the subset of the language and toolbox functionality supported for use with MATLAB Coder is smaller than the subset supported with MATLAB Compiler (in particular, I believe few if any of the graphics functions are supported with MATLAB Coder.)
For example, if you filter the list of functions in MATLAB (which lists 325 functions in the Graphics category) by the extended capability "C/C++ Code Generation" only 16 of the Graphics functions have this extended capability. And if you look at them, most are functions that you'd use to import or compute with image data rather than any function to display that data in a figure window. If you look at the list of functions in Symbolic Math Toolbox none support the C/C++ Code Generation extended capability (the Extended Capability filter list doesn't even show up.)
Regarding your other question, can you say a little more about what you are trying to do that requires Symbolic Math Toolbox? Can you perform your calculations symbolically in MATLAB then use matlabFunction to convert the result of those symbolic calculations into a function handle or function file that you can use in your program? If the function created by matlabFunction only uses functionality supported in MATLAB Compiler or MATLAB Coder then that would eliminate this blocking issue for your use of MATLAB Compiler or MATLAB Coder respectively.
John
2023-8-11
编辑:John
2023-8-11
1) "In particular, neither the sym function nor the syms function are supported for use with MATLAB Compiler.
2) "Regarding your other question, can you say a little more about what you are trying to do that requires Symbolic Math Toolbox?"
I'm doing a determinant solve, as a way to find eigenvalues. This is a 5x5 matrix so i can't easily hand-code a manual polynomial solver in place of solve().
syms lam;
det_H = det(H - lam * eye(size(H)));
polyn = solve(det_H == 0, lam);
EDIT: Ah, eig() though IS supported, so i could do the above using eig() instead of trying to find it manually.
"Can you perform your calculations symbolically in MATLAB then use matlabFunction to convert the result of those symbolic calculations into a function handle or function file that you can use in your program?"
Good thought; in this case that won't work, though, since the input matrices are time-varying.
The other function that's blocking is ordschur() (i need to modify the output of schur(), which IS a compiler supported function). This might be supported by BLAS/LAPACK per @Walter Roberson's suggestion.
These are the only two blocking parts. I've managed to remove the rest of the dependencies.
EDIT: with my edit above using eig(), only ordschur() is left as a blocker to using Coder.
Walter Roberson
2023-8-11
syms H [5 5]
syms lam
det_H = det(H - lam * eye(size(H)));
polyn = solve(det_H == 0, lam)
polyn =
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1455212/image.png)
Heig_fun = matlabFunction(polyn, 'file', 'Heig_fun.m', 'vars', {H})
Heig_fun = function_handle with value:
@Heig_fun
dbtype Heig_fun.m
1 function polyn = Heig_fun(in1)
2 %Heig_fun
3 % POLYN = Heig_fun(IN1)
4
5 % This function was generated by the Symbolic Math Toolbox version 9.3.
6 % 11-Aug-2023 01:13:23
7
8 H1_1 = in1(1);
9 H1_2 = in1(6);
10 H1_3 = in1(11);
11 H1_4 = in1(16);
12 H1_5 = in1(21);
13 H2_1 = in1(2);
14 H2_2 = in1(7);
15 H2_3 = in1(12);
16 H2_4 = in1(17);
17 H2_5 = in1(22);
18 H3_1 = in1(3);
19 H3_2 = in1(8);
20 H3_3 = in1(13);
21 H3_4 = in1(18);
22 H3_5 = in1(23);
23 H4_1 = in1(4);
24 H4_2 = in1(9);
25 H4_3 = in1(14);
26 H4_4 = in1(19);
27 H4_5 = in1(24);
28 H5_1 = in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H3_1.*H4_2.*H5_3+H1_4.*H2_5.*H3_1.*H4_3.*H5_2+H1_4.*H2_5.*H3_2.*H4_1.*H5_3-H1_4.*H2_5.*H3_2.*H4_3.*H5_1-H1_4.*H2_5.*H3_3.*H4_1.*H5_2+H1_4.*H2_5.*H3_3.*H4_2.*H5_1-H1_5.*H2_1.*H3_2.*H4_3.*H5_4+H1_5.*H2_1.*H3_2.*H4_4.*H5_3+H1_5.*H2_1.*H3_3.*H4_2.*H5_4-H1_5.*H2_1.*H3_3.*H4_4.*H5_2-H1_5.*H2_1.*H3_4.*H4_2.*H5_3+H1_5.*H2_1.*H3_4.*H4_3.*H5_2+H1_5.*H2_2.*H3_1.*H4_3.*H5_4-H1_5.*H2_2.*H3_1.*H4_4.*H5_3-H1_5.*H2_2.*H3_3.*H4_1.*H5_4+H1_5.*H2_2.*H3_3.*H4_4.*H5_1+H1_5.*H2_2.*H3_4.*H4_1.*H5_3-H1_5.*H2_2.*H3_4.*H4_3.*H5_1-H1_5.*H2_3.*H3_1.*H4_2.*H5_4+H1_5.*H2_3.*H3_1.*H4_4.*H5_2+H1_5.*H2_3.*H3_2.*H4_1.*H5_4-H1_5.*H2_3.*H3_2.*H4_4.*H5_1-H1_5.*H2_3.*H3_4.*H4_1.*H5_2+H1_5.*H2_3.*H3_4.*H4_2.*H5_1+H1_5.*H2_4.*H3_1.*H4_2.*H5_3-H1_5.*H2_4.*H3_1.*H4_3.*H5_2-H1_5.*H2_4.*H3_2.*H4_1.*H5_3+H1_5.*H2_4.*H3_2.*H4_3.*H5_1+H1_5.*H2_4.*H3_3.*H4_1.*H5_2-H1_5.*H2_4.*H3_3.*H4_2.*H5_1]);
42 t6 = t0(5);
43 polyn = [t2;t3;t4;t5;t6];
44 end
So now when you arrive at that point in the code, you pass your numeric array H to Heig_fun and get 5 outputs.
Or... you just call eig() on the numeric matrix.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with MATLAB Compiler SDK 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!发生错误
由于页面发生更改,无法完成操作。请重新加载页面以查看其更新后的状态。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
亚太
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)