There are a few ways to delete a column in Matlab. The easiest way is to use the command “delete”. The following example deletes the column “name” in the data set “mydata”.