Running a function in a loop and changing parameters
2 ビュー (過去 30 日間)
古いコメントを表示
Hi, i have a function that takes a text document, an excel document and a cell location in another document to add information in a master sheet on a specific line. This function is going to be run hundreds of times and rather than the user change the files to access and the cell in which to add the output to, i'd prefer for it to be automatic.
The files can be named '1.txt','2.txt','3.txt', '1.xlsx' etc. and the first cell of the master document to write into is A3. so when the function 'class' is running from 1 to 100 say, i need it to access the point in the loop and change the file names and the cell appropriately.
Cheers in advance!
0 件のコメント
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!