- the character ','
- the characters '65'
- the number 65
- something else...
Accessing value in a cell
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
jinang patel
am 1 Dez. 2019
Bearbeitet: Stephan
am 1 Dez. 2019
Hi,
I am trying to access value of a cell
>> a={'1,65,4,5'}
a =
1×1 cell array
{'1,65,4,5'}
>> a(2)
Index exceeds the number of array elements (1).
>> a{2}
Index exceeds array bounds.
Thanks
Jinang
3 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!