I just discoveredcode2flow which is great for mapping out the logical flow of code, for example when debugging. However it requires you enter pseudo code, or you can run it on existing javascript or Python code. I would love if there was a similar tool that would let you make a visual representation of the logic flow of an mfile. Does this exist?
There is no a pure matlab code 2 flow chart generator in world. The link above is just for matlab code containing class keywords. No class matlab script will generate error info when converting code to chart.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
4 Comments
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/299169-automatically-generate-program-logic-flow-chart-from-mfile#comment_568357
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/299169-automatically-generate-program-logic-flow-chart-from-mfile#comment_568357
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/299169-automatically-generate-program-logic-flow-chart-from-mfile#comment_568362
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/299169-automatically-generate-program-logic-flow-chart-from-mfile#comment_568362
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/299169-automatically-generate-program-logic-flow-chart-from-mfile#comment_750615
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/299169-automatically-generate-program-logic-flow-chart-from-mfile#comment_750615
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/299169-automatically-generate-program-logic-flow-chart-from-mfile#comment_768392
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/299169-automatically-generate-program-logic-flow-chart-from-mfile#comment_768392
Sign in to comment.