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

3 views (last 30 days)
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

Answers (2)

Ben11
Ben11 on 27 Jun 2014
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 on 26 Aug 2014
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

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!