Own USB (ftdi) device -> simulink

1 view (last 30 days)
Alexey
Alexey on 9 Apr 2013
Can someone point me to information about which functions i'm need to implement in driver between USB device (ft245, ftdi manufacturer) and simulink workspace. I'm reading matlab help about DAQ toolbox and similiar, but still cant undestand if its possible to use my own DAQ device or its only possible with NI DAQ?
I used FTDI drivers to save data on the computer, but now im need to create "analog channel" (for example) box in the simulink workspace and use non-stop data from my board in simulation.
Maybe its possible to somehow use FTDI drivers? (and i hope not COM version, because of future fast speed need)

Answers (1)

Kaustubha Govind
Kaustubha Govind on 10 Apr 2013
If you know how to read/write from the device using C/C++ code, you can create a custom Simulink block using C-MEX S-functions.

Categories

Find more on Instrument Control Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!