Text-only Table of Contents (frame/ no frame)
(24) Formatting Matlab Programs Using Cells Previous Top Next

  Formatting Your Matlab Program With Cells


  • Separate your programs in sections (cells)
  • Execute one cell at a time
  • Publish and format program in html and Microsoft Word (Windows)
  • Use %% to indicate the start of a new cell
  • Turn cell mode on and off from matlab editor


example of a matlab programs with cells

Open the m-file sample_cells.m in the matlab editor and select Publish to Html from the File Menu








Previous Top Next


Format_Program_Cells.src  last modified Sep 29, 2009 Introduction Table of Contents
(frame/no frame)
Printable
(single file)
© Dartmouth College