32-bit matlab runtime libraries in C#

1 回表示 (過去 30 日間)
Alistair Haslam
Alistair Haslam 2019 年 11 月 12 日
回答済み: Aditya Mittal 2020 年 4 月 23 日
I am trying to have my wpf C# application run in 32-bit mode as I have dependent libraries that I cannot change. I have installed the 32-bit MatLab runtime libraries and compiled my code with a 32-bit version of MatLab, however when I import the dll's into C# I get a BadImageFormatException as it is running the 64-bit MatLab runtime libs.
Is there a way to get my C# project to run the 32-bit runtime libraries exclusively? I'm not using any other MatLab functions other than this one. The COM type libraries only show the 64-bit Matlab Application.
Thanks

採用された回答

Aditya Mittal
Aditya Mittal 2020 年 4 月 23 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeC Shared Library Integration についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by