MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.
MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.
To insert a table in a notebook:
Select the place where you want the table to appear.
In the resulting dialog box, select the number of columns and rows and click OK.
To add a row or column to an existing table or delete an existing row or column:
Click a cell where you want to add or delete a row or column.
Select Edit>Table from the main menu and select the required action.
If you inserted a row, it appears above the row with the selected cell. If you inserted a column, it appears to the left from the selected cell.
You can change the appearance of a table in a MuPAD® notebook. To format a table:
Click the table you want to format.
Select Format>Table from the main menu.
In the Table Format dialog box, select your settings:
|Margins||Cell margins (all margins have the same size.)|
|Padding||Distance between the text and the border of a cell|
|Border||Width of the line used to draw cell borders|
|Spacing||Space between the cells|
|Background||Background color of the cells|
If you want to experiment with different settings, and see how the formatted table looks in your notebook, click the Apply button. This button applies formatting to the selected table and leaves the Table Format dialog box open. You can change settings several times without having to open this dialog box for each change. When you finish formatting, click OK to close the Table Format dialog box.