Prev: Legacy Code Tool Data Type Checking
Next: instrument control and data acquisition project in Silicon Valley
From: beginner on 21 May 2010 15:34 Is there a way to write a cell containing text and numerical matrix to a text file? I have the following: values = [1 2 3 4 5 6 7 8 9 10]; cellA={'nameA', values};%this is the cell containing the text and matrix cellA = 'name' [1x10 double] So that the text file row would look something like: nameA 1 2 3 4 5 6 7 8 9 10 Ultimately, I would like to be able to append this with cellB, cellC, etc (all same format as shown above). I tried both dlmwrite and xlswrite without much success. Is there a way to do this? Thanks! |