Saturday, May 4, 2024
HomeMatlabInstance of Utilizing the Profiler to Assist Scale back the Execution Time...

Instance of Utilizing the Profiler to Assist Scale back the Execution Time of a Perform » Stuart’s MATLAB Movies


I’ve a perform which analyzes the contents of some hundred folders. Its taking a number of minutes to run and I take advantage of it rather a lot, so I need to attempt to make it execute sooner.

I suggest utilizing the profiler to attempt to perceive the place the time is spent and discover some code modifications.

I typically discover with my efficiency enchancment work, that the primary modifications I make are to my algorithm, or code structure. For instance, by guaranteeing that I solely execute the computations that I must. Later, I’d then have a look at rushing up these computations.

Options lined on this code-along type video embrace:

Play the video in full display mode for a greater viewing expertise. 



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments