필터 지우기
필터 지우기

How can I convert many .m files in a single file.exe?

조회 수: 8 (최근 30일)
Giuseppe
Giuseppe 2014년 7월 15일
댓글: Ben11 2014년 7월 15일
Hello!! I have a multiGUIs program with a lot of .m files and .fig files. How can I convert them in a single file.exe?

답변 (2개)

Ben11
Ben11 2014년 7월 15일
When you deploy them with MCR you will be asked to include any .m file/.fig file that you want to include in your executable so it should not be a problem :) Be sure to have a version of MCR that fits with your version of Matlab.

Giuseppe
Giuseppe 2014년 7월 15일
What is MCR? Excuse me but i don't know matlab very well
  댓글 수: 1
Ben11
Ben11 2014년 7월 15일
No problem!
In order to deploy a standalone application you need to have the Matlab Compiler, which costs money and you can get here. This compiles your code and allows you to make executable files (.exe for PC, .app for Mac, etc) that can be opened by other people who do not have Matlab using the Matlab Compiler Runtime (MCR). When using the Compiler (I used MCR in my answer above sorry that's actually the Compiler) you will be asked to provide all the files/functions/.fig that are required by your application.

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

카테고리

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