フィルターのクリア

MCR issue at initialization

2 ビュー (過去 30 日間)
Bruno
Bruno 2013 年 2 月 7 日
Dear all,
I'm developing a large modular application which uses plug-ins. I've developed a signal processing plug-in in Matlab and compile it as a C++ shared lib that I wrapped into a C++ DLL (a plugin for my application).
Everything is OK.
On the other hand, I've developed another plugin that uses mat-files libraries (mx.dll lut.dll, etc) to write some data in a Matlab file.
When the two plugins are loaded and when I launch the 'matlab' plugin, the application crashes when the MCR is initializing. I've only got an exit(1).
Matlab is R2012b, with Compiler 4.18 on Windows 7 Pro 64bit and Microsoft Visual Studio 2008 SP1
Any advice to avoid that? Thanks for any help.

回答 (1 件)

Image Analyst
Image Analyst 2013 年 2 月 7 日
  1 件のコメント
Bruno
Bruno 2013 年 2 月 7 日
Indeed, but I don't have a standalone MATLAB application. I've got a C++ shared library wrapped in a C++ DLL as a plug-in for my Application.
That plugin is working very well (starts MCR init and so on) when used alone. If I add an other plug-in (C++ dll) that uses mx.dll to write some matlab .mat file, it crashes.
So I suppose there is a conflict between MCR dlls and MATLAB dll used by my other plug-in.
I don't want to use MCR for my other plugin, just to write out some .mat file. I've embedded MATLAB dll in my application's directory in order to deploy my application on a target computer. It works fine and I don't need MCR installed on the target computer just for that plug-in. But for my more complex plug-in, written in Matlab and compiled with Matlab Compiler, I do need the MCR on the target computer. And there is a conflict I suspect...

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

カテゴリ

Help Center および File ExchangeApplication Deployment についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by