How to interactively save a MATLAB Compiler project as deployment script using the GUI in MATLAB R2024b?

6 次查看(过去 30 天)

I want to save my MATLAB Compiler project PRJ file as a MATLAB deployment script in MATLAB R2024b.
I have found that this can be done programmatically using the "createDeploymentScript" function. However, I want an interactive way to do this in the MATLAB user interface.
How can I do this interactively?

采纳的回答

MathWorks Support Team
This interactive functionality is currently available in the "New Desktop for MATLAB (Beta)" in MATLAB R2024b.
In the New Desktop for MATLAB with MATLAB R2024b, follow the below instructions to interactively extract a deployment script for a PRJ file:
  1. Open the MATLAB Project.
  2. In the "Project" tab of the top MATLAB toolbar, select the "Deployment Task Manager" from the "Tools" section.
  3. In the "Deployment Task Manager", select "New Deployment Task" > "MATLAB Compiler" > "Standalone Application". This will open a "Deployment" tab in the top MATLAB toolbar.
  4. In this "Deployment" tab at the top MATLAB toolbar, click on the "Create Build Script" button.
  5. Save the deployment script as a MATLAB file.
Visual instructions are as follows:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call MATLAB from C 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by