How I can get data from Bluetooth device to Simulink in a loop
1 回表示 (過去 30 日間)
古いコメントを表示
Hello, I have problems with the DataStream function (watch pictures below). If i start the simulation the Init function works and the bluetooth object was created. But simulink can not find the variable b. Thanks for any ideas.
timo
0 件のコメント
回答 (1 件)
Nirja Mehta
2016 年 12 月 1 日
This is because "b" is not in the scope of "DataStream" function. You will need to pass "b" as an input to "DataStream" function or define "b" Bluetooth object, inside "DataStream" function.
2 件のコメント
filippo napoleone
2017 年 6 月 24 日
Hi, I have the same problem with the difference that:
Only I use a function to send messages via Bluetooth.
It tells me that however the Bluetooth-type variable is not supported!
Cristiana Pinheiro
2023 年 3 月 29 日
I have the same problem. I am not able to define a bluetooth object in Simulink. Anyone can help? Thank you.
参考
カテゴリ
Help Center および File Exchange で Model Verification についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!