Wrapper to run 32-Bit mex files on 64-Bit MATLAB
5 ビュー (過去 30 日間)
古いコメントを表示
I know its not possible to directly run a mex32 on a 64 Bit MATLAB. However, is it possible to build a wrapper that communicates with the mex32 bit on one end and with the 64 Bit MATLAB on the other end? Kind of like what WOW64 does when running 32 Bit applications on 64 bit Windows.
1 件のコメント
Sudhakar Shinde
2020 年 10 月 6 日
編集済み: Sudhakar Shinde
2020 年 10 月 6 日
The similar question is answered by mathworks STAFF:
回答 (1 件)
James Tursa
2020 年 10 月 6 日
編集済み: James Tursa
2020 年 10 月 7 日
32-bit mex files are not standalone code. They interact with 32-bit MATLAB library code which interacts with the 32-bit MATLAB memory manager which is supposedly attached to your 32-bit MATLAB session. And the internals of a 32-bit mxArray don't match the internals of a 64-bit mxArray, so there would be no way to pass variables back & forth either without rebuilding them in each direction. All of that 32-bit background stuff must be running properly in order for the mex routine to function. I don't see how all of this can happen with 64-bit MATLAB.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!