Configure Matlab Compiler to Visual Studio programmatically

10 ビュー (過去 30 日間)
Louis Filliot
Louis Filliot 2018 年 1 月 9 日
回答済み: Darshan Ramakant Bhat 2018 年 1 月 17 日
I want to configure Visual Studio as my matlab compiler programmatically. The problem is that if I ask my python script to execute the command mex -setup, then it waits undefinitely for the user answers to the successive input. The thing is that, as I know in advance what the future asnwers will be (y then 2 then y), I'd like to pre-configure them. I tried all kind of command similar to something like mex -setup y,2,y but I couldn't figure out any way to do it. Any idea of other workaround ?

回答 (1 件)

Darshan Ramakant Bhat
Darshan Ramakant Bhat 2018 年 1 月 17 日
If you are using the MATLAB version which is prior to R2017 below answers may help you:
For the later version of MATLAB below documentation link will explain how to change the compilers:
I hope this will help you.

カテゴリ

Help Center および File ExchangeGet Started with MATLAB Compiler SDK についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by