How to tell where an application hangs

6 views (last 30 days)
Andrew McLean
Andrew McLean on 10 Mar 2020
I have a long running Matlab application that "hangs" at a certain point during the processing. However, if I try to interrupt it with CTRL-C nothing happens. The only way to stop it is to kill the Matlab process in the Windows task manager. This happens even if I run the code in the debugger (setting a breakpoint and pressing continue).
It's very hard to debug as I really don't know where to start looking in the code.
Any idea to tell where the hang occurs?
Matlab consumes CPU during the "hang" so this may be a logic error in the code sending it into an infinite loop. The code also calls some Java routines. I'm using R2018b under Windows.

Answers (1)

vinoth irudaya nathan
vinoth irudaya nathan on 10 Mar 2020
hello there,
im new to matlab.
neither i know any designing or analysing tools
im a graduate in aeronautical engineering
didnt do my studies well, after 3 years of arrears. getting out with a degree
i completed my college by 2014
unemployed right now.
with a thirst of getting inside research oriented domain. i started to learn skills that might help me persuing my passionate career.
where i found out that matlab is the techno mathamatical tool that helps most of the R&D job.
and knowing it might place me in a world class exposed R& D domain.
i find that hear everything if costly.
im basically from an agricultural background from india.
im not tending to get everything for free. but till i leatn and get into a position of paying back,,,
i need your help guys.
i want to learn matlab . expecially CFD relatingly.
and FEA
so please guide me to learn things and lerring me to develope in a domain.
which is the best resource.
what should i know before starting it.
ive grasped some knowledge looking into youtube. but im unable to comprihend or conclude suddenl, as coading is completly new to me...
  1 Comment
Precise Simulation
Precise Simulation on 13 Apr 2020
For learning CFD and FEA with Matlab you can maybe try the FEATool Multiphysics toolbox with built-in modeling and simulation tutorials.

Sign in to comment.

Categories

Find more on Programming 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!