creating an string array
显示 更早的评论
ive a random string input and i want it indext in thress int an arry i can acsess later
.eg Array[1] = input(1:3)
gaining a out put of say ['qwe', 'igc', 'top']
then i want to acsess this as say
disp(Array[1])
qwe
please help i cannot figure out what im doing wrong?
2 个评论
Walter Roberson
2018-5-9
Which programming language are you using? It does not appear to be MATLAB.
Walter Roberson
2020-6-24
Array = ["qwe", "igc", "top"];
Array(1)
回答(1 个)
AKARSH KUMAR
2020-6-24
0 个投票
Your question is not clear, can you please explain it more clearly.
类别
在 帮助中心 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!