How I use string in Matriz ?
Ältere Kommentare anzeigen
I need to use strings in matriz using input, for example:
% for i=1:2
S(i)=input('Nome da loja ','s');
end
This example is very simple, but I cant do this. This example works when I type one word, but for more words doesnt works.
Antworten (1)
Walter Roberson
am 22 Aug. 2013
0 Stimmen
Use S{i} instead of S(i)
1 Kommentar
Kleber
am 22 Aug. 2013
Kategorien
Mehr zu Dynamic System Models finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!