フィルターのクリア

Can I programmatically set mcrinstaller path?

3 ビュー (過去 30 日間)
Andreas Prokopiou
Andreas Prokopiou 2018 年 10 月 31 日
回答済み: Andreas Prokopiou 2018 年 10 月 31 日
So far I can only define the path through the Preferences pane in the Matlab IDE (go to MATLAB Compiler option from the list to the left of the pane and select the path to the MCR_installer.exe).
After I do that when I type mcrinstaller in the command window I see the path I just set through the Preferences. My question now is; is there a way to do this process programmatically? Something to the extend of:
set(mcrinstaller,'C:\MCR_installer.exe')
Thank you in advance for your help,
A.

採用された回答

Andreas Prokopiou
Andreas Prokopiou 2018 年 10 月 31 日
I found the solution to my own problem by reversing how the mcrinstaller function works.
installer_path = 'C:\...\MCR_R2018b_win64_installer.exe';
s = settings;
compilerGroup = s.matlabCompiler;
compilerGroup.RuntimeInstaller.PersonalValue = installed_path;
hope it helps someone

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by