| MATLAB Central > MATLAB Newsreader > Using a saved string as a variable name? |
|
|
|
Subject: Using a saved string as a variable name? From: John Date: 21 Mar, 2010 02:21:05 Message: 1 of 7 |
|
hi, |
|
Subject: Using a saved string as a variable name? From: ImageAnalyst Date: 21 Mar, 2010 02:30:39 Message: 2 of 7 |
|
John: |
|
Subject: Using a saved string as a variable name? From: Rune Allnor Date: 21 Mar, 2010 07:41:23 Message: 3 of 7 |
|
On 21 Mar, 03:21, "John " <jsun6...@gmail.com> wrote: |
|
Subject: Using a saved string as a variable name? From: Bruno Luong Date: 21 Mar, 2010 09:11:02 Message: 4 of 7 |
|
"John " <jsun6383@gmail.com> wrote in message <ho3vqg$4re$1@fred.mathworks.com>... |
|
Subject: Using a saved string as a variable name? From: John Date: 21 Mar, 2010 10:09:03 Message: 5 of 7 |
|
Thanks for all the relies, |
|
Subject: Using a saved string as a variable name? From: David Young Date: 21 Mar, 2010 10:45:04 Message: 6 of 7 |
|
It's not clear why you need each result saved in a different variable. Why not use an array? - it's much simpler. It sounds like a struct array would be right, though a cell array would be another possibility. There is very good documentation for these, so I won't give examples here. |
|
Subject: Using a saved string as a variable name? From: Bruno Luong Date: 21 Mar, 2010 12:03:03 Message: 7 of 7 |
|
% Put your data as cell |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| structure | John | 20 Mar, 2010 22:24:04 |
Contact us at files@mathworks.com