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

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)

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 :)

Categories

Find more on Function Creation in Help Center and File Exchange

Products

Asked:

on 27 Jun 2014

Answered:

on 26 Aug 2014

Community Treasure Hunt

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

Start Hunting!