Input array in string

How to input array with string ? For example if i type A (enter) B (enter) C Then i will have X=(A B C)

回答(1 个)

Walter Roberson
Walter Roberson 2018-9-24

0 个投票

See the 's' option of input()
Or use inputdlg or questdlg

类别

帮助中心File Exchange 中查找有关 Cell Arrays 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by