c# ExecuteReader() like function to retrieve a record at a time in matlab
2 次查看(过去 30 天)
显示 更早的评论
hi, I want to read the output of an sql query one record at a time e.g. (ExecuteReader() in c#) so that I can dynamically generate some variables, instead of storing the output then run a for loop.
2 个评论
Guillaume
2018-9-13
I'm sure the database toolbox has some way to get a cursor that you can read one row at a time. Failing that, you can call .Net code directly from matlab.
However, "so that I can dynamically generate some variables" is never a good idea.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!