more efficient alternatives then putsample?

3 ビュー (過去 30 日間)
Michael Leung
Michael Leung 2011 年 9 月 23 日
Hi all,
I'm trying to make my code more efficient to be able to do real time video. Using the "profile" function on Matlab, I noticed that more then 50% of the time is being consumed by putsample.
putdata is not an option, as I run other lines of code in between each putsample.
I use putsample to move the detector to a certain position, make the measurement, and then use putsample to move the detector along its path.
Any ideas is appreciated.
Thanks,
Michael
PS> I am using National Instruments PCI 6259, I don't think the card speed is the issue.

回答 (0 件)

カテゴリ

Help Center および File ExchangeInstrument Control Toolbox Supported Hardware についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by