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)

Answers (1)

Walter Roberson
Walter Roberson on 24 Sep 2018

0 votes

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

Categories

Products

Tags

Asked:

on 24 Sep 2018

Answered:

on 24 Sep 2018

Community Treasure Hunt

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

Start Hunting!