Error when running app designer

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

回答(1 个)

SACHIN KHANDELWAL
SACHIN KHANDELWAL 2025-1-21
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.

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by