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
Walter Roberson 2018 年 5 月 9 日
Which programming language are you using? It does not appear to be MATLAB.
Walter Roberson
Walter Roberson 2020 年 6 月 24 日
Array = ["qwe", "igc", "top"];
Array(1)

サインインしてコメントする。

回答 (1 件)

AKARSH KUMAR
AKARSH KUMAR 2020 年 6 月 24 日

0 投票

Your question is not clear, can you please explain it more clearly.

カテゴリ

ヘルプ センター および File ExchangeCharacters and Strings についてさらに検索

質問済み:

2018 年 5 月 9 日

コメント済み:

2020 年 6 月 24 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by