Using MATLAB to evaluate algorithms and identify independent code blocks

1 view (last 30 days)
Is there a tool, feature, or plugin available that would enable MATLAB to identify blocks of code that can be run asynchronously and independently? We have a number of old, large, unruly algorithms that we would like to break into smaller pieces that run concurrently. The algorithms are all written in MATLAB, however the person who originally wrote them got tragically ill, and is no longer able to work. Much of our project relies on speeding up the existing models; the writer was in the process of breaking them out into modular pieces but was unable to finish his work. Unfortunately none of us has his level of acumen when it comes to MATLAB, and automating mathematical models. We have had some success using trial-and-error, while also burning the midnight oil to increase our knowledge in these areas. However it's slow-going, and we simply don't trust our results. We fear that breaking out sections of code to run independently may look fine at first, but will wreak havoc later due to an unforeseen dependency. We have looked into some Add-on products, such as the Parallel Computing toolbox and the Optomization toolbox, however it's not entirely clear to us whether they can help identify the blocks of code we're looking for. Has anyone out there found a tool that does this? Any information that would lead us in the right direction would be really helpful.
  1 Comment
Marica Marius
Marica Marius on 23 Aug 2015
Hello Mr. Jon,
Have you find answers to your question on identifying potentially asynchronous code blocks?
I'm very interested in this as it relates to my research.
Thanks, Marica!

Sign in to comment.

Answers (0)

Categories

Find more on Building and Simulating Electronic, Mechatronic, and Electrical Power System Networks 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!