Own USB (ftdi) device -> simulink

2 visualizaciones (últimos 30 días)
Alexey
Alexey el 9 de Abr. de 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)

Respuestas (1)

Kaustubha Govind
Kaustubha Govind el 10 de Abr. de 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.

Categorías

Más información sobre Instrument Control Toolbox Supported Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by