Help needed with Matlab Compiler

Hi,
I have the following problem. When I run compiled matlab code (filename:matlabcode.exe), calling from SSIS (sql server integration server execute, process task), I get the following message:
Could not find version 7.14.1 of the MCR. Attempting to load mclmcrrt7_14_1.dll
When I just double click matlabcode.exe from folder it executes just fine. Moreover, the file that is missing according to error message is in the folder: c:\Program Files(x86)\MATLAB\MATLAB Compiler Runtime\v7141\runtime\win32\mclmcrrt7_14_1.dll
It seems the problem is related to calling an executable from ssis instead of directly.
Did anyone experience this before?

3 件のコメント

Walter Roberson
Walter Roberson 2013 年 4 月 18 日
Check 32 bit process vs 64 bit process.
Friedrich
Friedrich 2013 年 4 月 18 日
Check your PATH environment variable from SSIS. It seems that SSIS is missing the MCR entry in the PATH. Did you restart SSIS after you installed the MCR?
Bram van
Bram van 2013 年 4 月 18 日
Thanks for your answers! will let you guys know what worked (or not)

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

 採用された回答

Bram van
Bram van 2013 年 4 月 18 日

0 投票

Friedrich,
It was as simple as that, restarting SSIS. I did not restart it after installing MCR indeeed.
Thanks a lot!

その他の回答 (1 件)

Image Analyst
Image Analyst 2013 年 4 月 18 日

0 投票

Did you run MCRInstaller.exe on the target computer to install the MATLAB Runtime library? It must be installed and must match the version (year and number of bits) as the version of MATLAB you used to compile with. There is also a FAQ you might want to check: http://matlab.wikia.com/wiki/FAQ#My_standalone_executable_won.27t_run_on_the_target_computer._What_can_I_try.3F

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by