Error when running app designer

3 visualizzazioni (ultimi 30 giorni)
Mubarak
Mubarak il 24 Feb 2021
Risposto: SACHIN KHANDELWAL il 21 Gen 2025
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

Risposte (1)

SACHIN KHANDELWAL
SACHIN KHANDELWAL il 21 Gen 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.

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by