how to dynamically assign data to a variable
2 ビュー (過去 30 日間)
古いコメントを表示
for ii=1:20
assignin('base', ['PClean_',num2str(ii)],ActualReading(1:end,17));
PClean=['PClean_%d',ii];
I wish to assign data of PClean_1,PClean_2,PClean_3,PClean_4....and so on to PClean but i am not able to assign it for each loop
0 件のコメント
採用された回答
Sean de Wolski
2014 年 12 月 3 日
Dynamic and variable should really never be in the same sentence :)
0 件のコメント
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!