Standalone Application Compiler for OSX

4 visualizzazioni (ultimi 30 giorni)
John
John il 7 Ago 2023
Commentato: Walter Roberson il 11 Ago 2023
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?

Risposte (1)

Walter Roberson
Walter Roberson il 7 Ago 2023
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 Commenti
John
John il 11 Ago 2023
Modificato: John il 11 Ago 2023
1) "In particular, neither the sym function nor the syms function are supported for use with MATLAB Compiler.
The Application Compiler app is part of MATLAB Compiler."
Thanks @Steven Lord -- that's helpful and clarifies those dependencies.
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
Walter Roberson il 11 Ago 2023
syms H [5 5]
syms lam
det_H = det(H - lam * eye(size(H)));
polyn = solve(det_H == 0, lam)
polyn = 
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 = in1(5); 29 H5_2 = in1(10); 30 H5_3 = in1(15); 31 H5_4 = in1(20); 32 H5_5 = in1(25); 33 t0 = roots([1.0,-H1_1-H2_2-H3_3-H4_4-H5_5,H1_1.*H2_2-H1_2.*H2_1+H1_1.*H3_3-H1_3.*H3_1+H1_1.*H4_4-H1_4.*H4_1+H2_2.*H3_3-H2_3.*H3_2+H1_1.*H5_5-H1_5.*H5_1+H2_2.*H4_4-H2_4.*H4_2+H2_2.*H5_5-H2_5.*H5_2+H3_3.*H4_4-H3_4.*H4_3+H3_3.*H5_5-H3_5.*H5_3+H4_4.*H5_5-H4_5.*H5_4,-H1_1.*H2_2.*H3_3+H1_1.*H2_3.*H3_2+H1_2.*H2_1.*H3_3-H1_2.*H2_3.*H3_1-H1_3.*H2_1.*H3_2+H1_3.*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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.

Accedi per commentare.

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by