|
From: Sean Hatch on 6 May 2008 01:49 I was having the same problem, so I'll post my solution. I think you've probably taken one of the others' solutions, so this is I guess for future MatLabers. My problem is a bit different in that I only have one line of text from which I'd like to create the vector, but: s1 = '23 1 43 43'; s2 = regexp(s1, ' ', 'split') q0 = cellfun(@str2num,s2) ....works nicely.
|
Pages: 1 Prev: reset the contents of an edit box Next: vitdec() and TCM |