Executable from Matlab fails to run on another computer

8 ビュー (過去 30 日間)
Molly
Molly 2016 年 6 月 29 日
編集済み: Molly 2016 年 6 月 30 日
Hey there,
I built - or better the Application Compiler of Matlab2015 - a standalone executable from my Matlab Code. The testing verion runs fine on my Computer and another Computer which has the same Version of Matlab. But it does not run on other Computers with newer Maltba Versions. An error occurs which says something about that the runtimer is not the one needed...
I checked the box "Runtime included in package" whén I created the exe. I tought that would do that I can use it on any Computer? Is it because I am using the testing Version? Or am I missing something else?
Thank you for any helpful tought ;-)

採用された回答

Dharmendra
Dharmendra 2016 年 6 月 29 日
Hey Molly, To run any standalone applications (.exe) on any computer, There must be installed same MATLAB Compiler Runtime (MCR) with which it was created. If it's not, you have to install same MCR on that system even you have new version of MCR. It is clearly mentioned in MATLAB documents. Therefore, I would suggest you to install (manually) same MCR on computer if package is not able to install MCR, even computer has new version of MATLAB. It will not work unless you install same MCR with whom standalone .exe was created.
  2 件のコメント
Molly
Molly 2016 年 6 月 29 日
編集済み: Molly 2016 年 6 月 29 日
Ok, I will try that. Thanks. But I wanted to included it. It that possible somehow?
Molly
Molly 2016 年 6 月 30 日
編集済み: Molly 2016 年 6 月 30 日
So I tried to install the Version for redestribution and it worked with that one. I guess it was just the one for testing that didn't work without the MCR.

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by