Force Feedback Toolbox for MATLAB/Simulink

Force Feedback Toolbox (FFB) can be used with FFB devices and can create FFB effect objects.
3.1K Downloads
Updated 19 May 2004

No License

A user can create a force feedback effect object in MATLAB workspace. Parameters used to define such objects are similar to those used in DirectX FFB effect structure. MATLAB maintains these FFB objects in its workspace and also the corresponding DirectX FFB effect structure using a DLL (C++ mex-function). This DLL incorporates DirectX functions and creates a linked list of DirectX effect structures. The effect objects in MATLAB can be manipulated within MATLAB and the changes are reflected in the corresponding effect structure in DLL. Toolbox contains commands to start, stop, and modify an effect. Presently, this toolbox can create eleven types of DirectX force feedback effects with envelope structure.

Additionally, the toolbox can read the X and Y angles of the device axis along with time stamp. Time information has adequate resolution to calculate time steps in microseconds. The time step can be used to estimate velocities and acceleration of the device axis.

Cite As

Chetan Jadhav (2024). Force Feedback Toolbox for MATLAB/Simulink (https://www.mathworks.com/matlabcentral/fileexchange/4939-force-feedback-toolbox-for-matlab-simulink), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Instrument Connection and Communication in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

DirectM Toolbox/DirectM/

DirectM Toolbox/DirectM/@effect/

DirectM Toolbox/Examples/

DirectM Toolbox/Examples/

Version Published Release Notes
1.0.0.0