Error when running app designer
1 view (last 30 days)
Show older comments
Hi,
I have built an app in app designer that calculates heat transfer between a hot surface and a fluid.. I added equations for Reynolds and Nusselt numbers as well as heat transfer coefficient. I want to calculate all these variables when I push one button. I added all the equations for one push button and debugged the code. The app takes a very long time and it doesn't show the results. Please advise!
Thank you
0 Comments
Answers (1)
SACHIN KHANDELWAL
on 21 Jan 2025
It's difficult to provide specific inputs without seeing the code. However, one possible reason for the delay could be that the calculations are being performed continuously. You might consider implementing parallel processing to handle results concurrently. This approach can significantly reduce the execution time.
Additionally, utilize MATLAB's built-in Profiler to identify bottlenecks in your code : https://www.mathworks.com/help/matlab/ref/profile.html.
0 Comments
See Also
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!