mcrinstaller function doesn't work

4 Ansichten (letzte 30 Tage)
cyberdyne
cyberdyne am 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.

Antworten (1)

Image Analyst
Image Analyst am 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 Kommentare
Walter Roberson
Walter Roberson am 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 am 17 Sep. 2012
So, have I to use !javac commands and never javac (in command window) ?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by