Error: The board 'Standard Devices Joystick' has no Stream Input channels.

Hi:
I'm using Simulink Desktop Real-Time and I want to receive some signals from a joystick. I used Stream Input block and installed a new Joystick board. The device test passed but when I started building an error occured. It said 'The board 'Standard Devices Joystick' has no Stream Input channels.' and no further infomation. What should I do to fix this problem?
I can receive signals of the joystick by using Joystick Input block in Simulink 3D Animation. So it seemed that joystick worked perfectly fine.
Thank you!

Answers (1)

Hi,
please use the Analog Input block for joystick axes and Digital Input block for joystick buttons. The joystick device indeed have no data of "stream" type.
Good Luck, Jan

Products

Release

R2023b

Asked:

on 1 Nov 2024

Commented:

on 1 Nov 2024

Community Treasure Hunt

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

Start Hunting!