How do I compile correctly a MATLAB GUI with the App Compiler?

2 ビュー (過去 30 日間)
Pilar Valles
Pilar Valles 2014 年 6 月 27 日
回答済み: Image Analyst 2014 年 8 月 26 日
Hello MATLAB Community,
I created a GUI that asks you to chose some Data and imports it to some variables, after that the programm does some calculations and it gives me 4 graphics, some of the variables are saved in the Workspace, other are inside the GUI. For the calculations it also imports another file with "basic" data depending on the button you click on the GUI. So far so good, then I compile it to a standoalone application and it "works", but when i try to execute the programm it tells me that: "Der Prozedureinsprungpunkt '?throw_exception_v4@internal@tbb@YAW$exception_id@12@@Z' wurde in der DLL 'tbb.dll' nicht gefunden" traduced I think it says that the "Prozedureinsprungspunkt" '?throw_exception_v4@internal@tbb@YAW$exception_id@12@@Z' was not found on the tbb.dll
however I am not a Programmer, I just want my programm to run out of MATLAB so any help or ideas would be very helpfull.
Thanks a lot! Pilar
  1 件のコメント
Gregory
Gregory 2014 年 8 月 25 日
I had a similar issue with an executable. You might find this page helpful:

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

回答 (2 件)

Ben11
Ben11 2014 年 6 月 27 日
Do you use global and/or persistent variables? If so you might want to get rid of them because standalone applications do not like them. I don't know if the error messages you showed have anything to do with that but that would be a good first step :)

Image Analyst
Image Analyst 2014 年 8 月 26 日
You need to put the tbb.dll you used in the app's folder. See this discussion: http://www.mathworks.com/matlabcentral/answers/115024#answer_149481

カテゴリ

Help Center および File ExchangeFunction Creation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by