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

2 次查看(过去 30 天)
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

回答(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 CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by