mcrinstaller function doesn't work

4 ビュー (過去 30 日間)
cyberdyne
cyberdyne 2012 年 9 月 10 日
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.

回答 (1 件)

Image Analyst
Image Analyst 2012 年 9 月 10 日
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 件のコメント
Walter Roberson
Walter Roberson 2012 年 9 月 17 日
!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 2012 年 9 月 17 日
So, have I to use !javac commands and never javac (in command window) ?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by