Own USB (ftdi) device -> simulink

1 visualizzazione (ultimi 30 giorni)
Alexey
Alexey il 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)

Risposte (1)

Kaustubha Govind
Kaustubha Govind il 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.

Categorie

Scopri di più su Instrument Control Toolbox Supported Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by