Compile an m-file

39 Ansichten (letzte 30 Tage)
Philosophaie
Philosophaie am 11 Dez. 2013
Kommentiert: Walter Roberson am 11 Dez. 2013
How do you compile an m-file like a .exe file in Visual Basic so you can run it on any MatLab computer.
  1 Kommentar
Walter Roberson
Walter Roberson am 11 Dez. 2013
Have you ever considered the benefits of going back and Accepting answers to questions you have posted before? And the benefits of following up when people posted clarification questions for you?
The volunteers here get "paid" in the satisfaction of seeing questions resolved, and when people leave questions hanging, the volunteers tend to ignore questions from those people.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Image Analyst
Image Analyst am 11 Dez. 2013
On the command line, you say
>> mcc -m yourmfile.m -d 'C:/folderWhereYouWantIt'
Then distribute your exe, the MCR, and any mat files, data files, Excel templates, sample data files, or other required files. You can use deploytool if you want to package all those things together.
See the FAQ: http://matlab.wikia.com/wiki/FAQ#MATLAB_Compiler_Toolbox when you have problems (and you will).
  1 Kommentar
Walter Roberson
Walter Roberson am 11 Dez. 2013
Note that MATLAB Compiler is an optional extra-cost product.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by