Outputting to string
古いコメントを表示
I want to do this, essentially:
for i = 1:3
['variable_' int2str(i)] = function(i);
end
How do I tell MATLAB to create a series of variables as outputs? It isn't good enough to output to variable(i) as the output is a series of matrices and vectors, not a single value.
採用された回答
その他の回答 (1 件)
Oleg Komarov
2011 年 1 月 27 日
3 投票
Oleg
カテゴリ
ヘルプ センター および File Exchange で Variables についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!