Data Acquisition Toolbox for real time

조회 수: 5 (최근 30일)
Juan Fang
Juan Fang 2018년 6월 18일
편집: Walter Roberson 2018년 6월 18일
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.
Is there any method of using USB card to collect data in Matlab/Simulink in real time? Many thanks.

답변 (1개)

Walter Roberson
Walter Roberson 2018년 6월 18일

카테고리

Help CenterFile Exchange에서 Block and Blockset Authoring에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by