フィルターのクリア

Loop in cell array

1 回表示 (過去 30 日間)
Eric
Eric 2017 年 2 月 11 日
回答済み: Star Strider 2017 年 2 月 11 日
Hi everyone,
I'm currently trying to add a number in the end of a filename like this:
for jj = 1:244
names(jj) = cellstr([pwd '/' file(1).name ',' jj]);
end
But it gives me symbols instead like: . How can I get it to end with a number?
Thanks a lot in advance,
Eric

採用された回答

Star Strider
Star Strider 2017 年 2 月 11 日
I have no idea what you want to do because apparently some of the desired output didn’t appear.
I would use the sprintf function to create the string.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultidimensional Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by