Why do I receive the error "C:\Program is not recognized as an internal or external command" when running registerServiceForHpcServer2008.bat?
1 回表示 (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2009 年 10 月 1 日
編集済み: MathWorks Support Team
2019 年 3 月 25 日
I am setting up MATLAB Parallel Server) and the instructions tell me to run registerServiceForHpcServer2008.bat. When I run this batch file, I receive the following error:
C:\Program is not recognized as an internal or external command.
採用された回答
MathWorks Support Team
2019 年 3 月 25 日
編集済み: MathWorks Support Team
2019 年 3 月 25 日
To avoid this error, edit the $MATLAB\toolbox\distcomp\bin\registerHpcServerSoaClient.bat file (where $MATLAB is the directory where MATLAB is installed). In line 46, put quotes around the path to RegisterAssembly.exe and HpcServerSoaClient.dll. After editing, the line should look like this:
call "%BINBASE%\RegisterAssembly.exe" %REGISTER_ASSEMBLY_ACTION% "%BINBASE%\HpcServerSoaClient.dll"
After editing and saving this file, registerServiceForHpcServer2008.bat should run without errors.
NOTE: Starting in R2019a the following name changes occurred: * MATLAB Distributed Computing Server was renamed to MATLAB Parallel Server * mdce_def was renamed to mjs_def * mdce binary was renamed to mjs
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!