Stuart’s MATLAB Videos

Watch and Learn

Managing code in MATLAB: Cell mode scripts 5

Posted by Doug Hull,

This is the first series of MATLAB video tutorials that are an attempt to systematically make videos for a “technology trees” for using MATLAB. This first tree covers the various kinds of MATLAB files you might write. The tree shows you the order you should watch them because some rely on skills you need to learn from earlier videos, but some do not.

Script Function 1in1out MinNout VarArg Cell mode Markup Interactive Driver script Sub function Nested

Cell mode scripts are a way to make something like a “MATLAB workbook”. They can be used to make easily published documents (upcoming video), allows you to break your scripts into smaller chunks that can be run individually, and allow you to iterate on a section of code while changing a scalar (upcoming video again!). This last method allows you to tune a constant very easily.

176 views (last 30 days)  | |

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.