Hello, i want to call Matlab-Functions from Python. How can i choose between different Matlab-Versions? Maybe i want to launch Matlab 2013 64-Bit or Matlab 2015 64-bit.

1 view (last 30 days)
I want to choose between different Matlab-Version. E.g. R2013 32-Bit and R2015 64-Bit. My Code is:
import matlab.engine eng = matlab.engine.start_matlab() % here i want to choose the matlab-version! tf = eng.isprime(37) print(tf)

Accepted Answer

Bo Li
Bo Li on 5 Apr 2016
This feature is not available in Python Engine. Currently Python Engine only works with the MATLAB version that it is shipped with.
  1 Comment
Gerald Duckstein
Gerald Duckstein on 6 Apr 2016
Hello Bo Li,
thank you very much!
It is impossible to choose between a e.g. 32-bit and 64-bit version of matlab 2015? Both is installed on my computer.

Sign in to comment.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!