Calling 32-bit Matlab from 64-bit Matlab

6 ビュー (過去 30 日間)
john
john 2012 年 4 月 24 日
I just made the switch over to 64-bit Matlab and there was one function I was not able to convert over that only works on 32-bit Matlab.
Is there a way, from within Matlab 64-bit, to open up a Matlab 32-bit automation process, run my function that way and then return the result back to Matlab 64-bit??
I know this is kind of a roundabout way of accomplishing what I need to do, but it would be extremely helpful if it were possible. Thanks!

採用された回答

Walter Roberson
Walter Roberson 2012 年 4 月 24 日
If you are using MS Windows, then register the 32 bit version of MATLAB as the automation server (which will also end up registering that version as being associated with the file extensions.) Fire up the 64 bit version and use an activex() object to connect to MATLAB: what you reach will be the 32 bit version.
Out of curiosity, what were you unable to convert?
  3 件のコメント
Walter Roberson
Walter Roberson 2012 年 4 月 24 日
If I recall correctly, fire up the 32 bit MATLAB version with the /register switch on the command line.
john
john 2012 年 4 月 26 日
I was able to successfully register the 32-bit version as the default version using the instructions found here:
http://www.mathworks.com/help/techdoc/matlab_external/f64299.html
After some testing, it looks like no matter what when you launch a matlab automation from a 64-bit matlab it opens a 64-bit matlab automation server and vice-versa for 32-bit matlab.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDatabase Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by