how to covert m-file to stanalone application?

2 views (last 30 days)
Hello all i want to convert m-file to a stand alone application. I entered the following in command window. mbuild -setup and i have selected the compiler Lcc. but when i entered the command mcc -m myfilename.m,i got the following errors. The file 'C:\Documents and Settings\ototemp-u\My Documents\MATLAB\NUM.m' is empty (zero bytes long).
This file cannot be added to the CTF archive because it will cause an error
when the application or library is run. Add valid content to this file if
your application or library requires this file.
Failed to build CTF file: 'trial6.ctf'.
??? Error using ==> mcc
Error executing mcc, return status = 1 (0x1).
Can anyone please help me out

Accepted Answer

Walter Roberson
Walter Roberson on 12 Mar 2011
Examine NUM.m . Is it empty, or does it consist entirely of comments?
sandeep on 14 Mar 2011
Thank you for the answer. the above application is of GREAT HELP.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!