To write into a specific cell in matlab, you can use indexing. Here's an example code snippet:
main.m96 chars6 lines
In this example, we create a matrix M
with cells, and then write the value 9
into the cell in the first row, second column using indexing syntax ({1, 2}
).
gistlibby LogSnag