By now, many of you are probably aware of Live Scripts for creating shareable (and interactive) document. Before Live Scripts, you could publish your MATLAB code to share with others. You use special mark-ups in the code comments to format your text. In general, we recommend Live Scripts, as it has the same capabilities and many more compared to publishing, such as adding Live Editor Tasks and Interactive Controls.
Those of you who are using .m MATLAB code files, I highly recommend you take a look at this entry by Harry. It includes a number of useful markups that you can include in your published HTML file. Harry includes a very comprehensive help file, so I encourage you to read through it to learn about all the features. That help file itself was also created with this entry.
Here are a few of the key features I really like:
- Ability to add toolbar buttons (shortcut) to make it easy to add markup tags
- Collapsible sections
- Internal links to jump to different sections within the document. This is possible with Live Scripts, but not with the standard publish function
- Simple markup for changing font size, color, and defining custom CSS classes
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.