[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Indexing with "string" values in Matlab
From: |
Michael D. Godfrey |
Subject: |
Re: Indexing with "string" values in Matlab |
Date: |
Fri, 25 Oct 2013 12:08:53 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
On 10/25/2013 12:03 PM, Rik wrote:
x = 1:100;
x("A")
x("ADBC")
y("ADBC") = "1234"
>> x = 1:100;
>> x("A")
??? x("A")
|
Error: The input character is not valid in MATLAB statements or expressions.
>> x("ADBC")
??? x("ADBC")
|
Error: The input character is not valid in MATLAB statements or expressions.
>> y("ADBC") = "1234"
??? y("ADBC") = "1234"
|
Error: The input character is not valid in MATLAB statements or expressions.
Re: Indexing with "string" values in Matlab, Richard Crozier, 2013/10/25