mcrinstaller function doesn't work

2 views (last 30 days)
cyberdyne
cyberdyne on 10 Sep 2012
Hi,
when I write in the command mcrinstaller it returns:
Undefined function or variable 'mcrinstaller'.
I check matlab path settings and JA builder is in it.
How is it possible?
EDIT: Running Matlab builder JA (Start->MATLAB->MATLAB Builder JA->Deployment Tool(deploytool)) it doesn't work.

Answers (1)

Image Analyst
Image Analyst on 10 Sep 2012
What does "ver" report? Do you have the MATLAB Compiler? Why are you trying to execute the run time library installer from the command window anyway? It should be run from Windows Explorer or something. If for some reason you did want to install it from within MATLAB, you'd have to prefix mcrinstaller with an exclamation point, like you do with any executable you want to launch from the command line, but I don't recommend that you do it from there.
  17 Comments
Walter Roberson
Walter Roberson on 17 Sep 2012
!javac creates an OS command shell to execute javac, and all the environment variables in effect will be copied to the command shell.
javac in the command window would attempt to execute a MATLAB routine named "javac", but there does not happen to be a routine with that name.
cyberdyne
cyberdyne on 17 Sep 2012
So, have I to use !javac commands and never javac (in command window) ?

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!