Logitech G29 Game Controller with MATLAB/Simulink

Hello everyone,
I am trying to connect a Logitech G29 game controller to a pc, to observe variable changes (steering angle, speed....) on Simulink. I found the block already installed on the pc, I connected its outputs to bus dividers and scopes, but I am getting the following error:
"
Error evaluating 'InitFcn' callback of Logitech G29 Steering Wheel block (mask) 'LogitechWheel/Steering Wheel Read '.
Callback string is 'steeringWheelSlgate('validateSettings',bdroot);'
Caused by:
block_diagram does not have a parameter named 'xPCisDefaultEnv'
Component:Simulink | Category:Block error
"
Does anyone know what's the problem? How to get Simulink realtime if I need it?
Thank you

2 件のコメント

jiahui
jiahui 2020 年 11 月 3 日
我也想知道这个问题的解答,不知道楼主解决了吗
wang
wang 2023 年 7 月 14 日
@jiahui 把system target file改成slrt. tlc即可。

サインインしてコメントする。

回答 (0 件)

タグ

質問済み:

2020 年 7 月 22 日

コメント済み:

2023 年 7 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by