Compile an m-file

조회 수: 39 (최근 30일)
Philosophaie
Philosophaie 2013년 12월 11일
댓글: Walter Roberson 2013년 12월 11일
How do you compile an m-file like a .exe file in Visual Basic so you can run it on any MatLab computer.
  댓글 수: 1
Walter Roberson
Walter Roberson 2013년 12월 11일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2013년 12월 11일
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
Walter Roberson
Walter Roberson 2013년 12월 11일
Note that MATLAB Compiler is an optional extra-cost product.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by