You can use the curly braces {} to access and modify the contents of a cell array. Here is an example function that adds an element to a cell array:
main.m408 chars15 linesYou can call this function with a cell array and an element that you want to add to the end of the array. For example:
main.m150 chars5 lines
This will output a cell array my_cell with the new element 'date' added to the end of the original array.
gistlibby LogSnag