# MATLAB flow charts

Help » Languages » MATLAB

Visustin generates flow charts from MathWorks MATLAB source code (.m files). The support is current as of MATLAB R2016b.

### Supported statements

Visustin supports the following MATLAB statements.

Statement type | Statement |

Conditional statements | if..elseif..else..end |

Multiway decision | switch..case..otherwise..end |

Iteration | for..end, parfor..end |

Looping | while..end |

Loop exit and continue | exit, continue |

Return | return |

End program | exit, quit |

Error handling | try..catch..end |

Error throwing | throw, rethrow, error |

Functions | function |

Classes | classdef, methods, properties, events, enumeration |

Comments | %Comment, %{ Comment block %} |

Most other statements are handled as regular statements.

### Limitations

- Function calls are not visualized.
- Where several
`function`

definitions follow each other and the optional `end`

keyword has not been used to terminate each function, the functions appear nested in the *Structure* panel, which is incorrect. Adding the `end`

keyword to the end of each function is recommended for clarity. This limitation has no visual effect on the flow charts.

©Aivosto Oy – Visustin Help