MATLAB Answers

Deployment Tools

4 views (last 30 days)
I had created a GUI in MATLAB and wants that some of my friends who are not having matlab with them can use my GUI. Then i have heard about the deploytool..
But when i buil my project in the deployment tool, it is giving an error "The Application name must be a valid C Identifier".
This is how i am doing everything.. >>deploytool then a graphical user interface of deploy tool gets opened. where in the main function i load the .m file of my gui.. but when i build my project it is giving an error.. "The Application name must be a valid C Identifier".
What to do now.. Pls tell me...

Accepted Answer

Walter Roberson
Walter Roberson on 26 Jun 2011
Your application name needs to consist entirely of the the upper or lower case Latin letters A, B, C, to Z, together with the ten decimal digits, 0, 1, 2, to 9, together with underscore.
Your application name cannot contain spaces or any national character or any character such as $ or [ or period.
  1 Comment
Arun Sharma
Arun Sharma on 26 Jun 2011
Thanks I had Hod sort out the problem.
After that
I had used mbuild -setup command at the command prompt.
Then i choose this compiler option
Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2010a\sys\lcc
What is this i don't know.. is it MCR.
Okay after that i build my project it takes a lot of time,
But at last it works.
At Least on my system.
the exe file generated is working successfully.
Then i thought to install MCR.
In another project I add MCR then then build it..
It installs Matlab Compiler Runtime(MCR) on my system.
and after that the exe file generated also works on my system.
So can u tell me.
What is all this..
What to do, to run the GUI on another system

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!