Error when running app designer

조회 수: 5 (최근 30일)
Mubarak
Mubarak 2021년 2월 24일
답변: SACHIN KHANDELWAL 2025년 1월 21일
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