Can compiler.p​ackage.ins​taller() create "end user files"?

2 ビュー (過去 30 日間)
Ludwig
Ludwig 2024 年 6 月 13 日
コメント済み: R 2024 年 6 月 24 日
If I build my apps with the Application Compiler GUI, MATLAB creates an exe for "End user files" in a subfolder `for_redistribution_files_only`. This exe is just the program to run the code. Not an installer for the program.
Now, I want to script the build process so that I don't need to go via the GUI. Therefore,
I convert the project-file to a build-script with:
createDeploymentScript('myapp.prj','build_myapp.m');
end then I run the build-script.
build_myapp;
In contrast to building the project with the GUI, in the build-folder the sub-folder `for_redistribution_files_only` is now missing. So I don't have my program as pure executable but only the installer in `for_redidtribution`.
Is there an option I can set to build the same executable as with the Application Compiler GUI?
  2 件のコメント
Ludwig
Ludwig 2024 年 6 月 13 日
I guess you can take the exe from the for_testing folder.
R
R 2024 年 6 月 24 日
I missed this comment while answering. Glad to know this works for you.

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

採用された回答

R
R 2024 年 6 月 24 日
I believe you can use the files from 'for_testing' folder generated while packaging MATLAB functions. Quoting from MATLAB Documentation of 'for_testing' Folder:
"The final artifacts created during the packaging process are the same files as described in for_redistribution_files_only Folder."
Refer to this link for more information:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by