Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

How to compile a matlab program?

Asked by Bijit Banik on 6 Mar 2011

Hello,

I have done a matlab program. Now I want to use it in a matlab free environment (Independent of Matlab)in any computer. Is there anybody who can help me in doing compilation?

Thanks in advance

0 Comments

Bijit Banik

Products

No products are associated with this question.

2 Answers

Answer by Walter Roberson on 6 Mar 2011
Accepted answer

You need the Matlab Compiler Toolkit . Information about how to use it is available here

Please note that the Matlab Compiler can only produce executables suitable for the platform (Windows, OS-X, Linux) that the compiler was used on, not on "any computer".

Also please note that running the executable requires installing MCR (Matlab Component Runtime) on the system that is to run the executable, and that you as creater of the executable would be responsible for providing MCR to each of the users -- MCR is not available for downloading from Mathworks. You would also be responsible for ensuring that only people authorized to use your executable get MCR from you: it is not allowed to make MCR available outside your organization without access controls to prevent the public from downloading MCR.

1 Comment

Bijit Banik on 6 Mar 2011

Thanks a lot.

Walter Roberson
Answer by Paulo Silva on 6 Mar 2011

deploytool

1 Comment

Bijit Banik on 6 Mar 2011

Thank you.

Paulo Silva

Contact us