Matlab documentation format is called "Live Scripts". Live scripts combine code with formatted text, equations, images, and outputs in a single environment. You can create a new Live Script in the Home tab of the MATLAB desktop by clicking on "New" and then "Live Script". You can add formatted text to Live Script using markdown syntax. You can also add equations using LaTeX syntax. When you run a Live Script, it executes the code and shows the output right below it. Live Scripts are useful for sharing code and results, creating tutorials, or creating interactive documents.
gistlibby LogSnag