- LookupTableFiles
- getgastablelisting()
- getindepvars()
How to loop a function?
1 次查看(过去 30 天)
显示 更早的评论
I would please like to ask if what i did to loop a function is correct?
for l = 1:length(getgastablelisting(FilePrefix, DirectoryName, filetype))
CurrentSheet = readmatrix(LookupTableFiles(l));
[Cols,StructOut] = getindepvars(CurrentSheet);
end
2 个评论
Harsh Parikh
2020-6-5
Hi Mari,
Could you please shed some light on the different variables and the functions used in the loop? (mainly the following.)
That would give a better idea about what's going on in the loop.
Moreover, could you please briefly explain what do you want to achieve through this loop?
Manish Kumar
2020-7-1
Yes as per the syntax it is correct.
But It would be better if you can share about the function and their return types.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!