Data Acquisition Toolbox for real time
5 次查看(过去 30 天)
显示 更早的评论
I am trying to use NI USB 6009 to collect and send data in Matlab/Simulink. I notice that the model doesn’t run in real time. So I delveloped a model using Simulink Desktop Real time package, and run it in external mode. But everytime it showed an error: Level-2 MATLAB S-function 'saissb' in 'usb_DAQ_external_0618/Analog Input (Single Sample)' specifies 'SetSimViewingDevice(true)' , which prevents an output port from being created for the S-function.
I noticed a webpage below: https://ch.mathworks.com/matlabcentral/answers/97354-does-the-data-acquisition-toolbox-support-real-time-closed-loop-control
Is there any method of using USB card to collect data in Matlab/Simulink in real time? Many thanks.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Block and Blockset Authoring 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!