FTDI USB S-function

FTDI USB<->RS232 bridge communication S-function. Device: FT232RL.

You are now following this Submission

FT232RL serial converter communication function. Used direct connect to D2XX library. Not Virtual Com Port.

Model consist modified 'ft232xx.h' header file to work on x64.

As example used simple function 'string_maker', which generate string 'AxxxxBxxxxCxxxx', where xxxx - numbers obtained from sliders, or sine wave.

'A0750', 'Bxxxx'... - commands for controlling hobby servos. Letter 'A' is channel, xxxx - value in milliseconds/2 (0750 = 1.5 ms).

Also in model used 'Real Time Pacer', which can be found in File Exchange', or completely removed from model.

Cite As

Pavel (2026). FTDI USB S-function (https://se.mathworks.com/matlabcentral/fileexchange/30536-ftdi-usb-s-function), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Block and Blockset Authoring in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0