Help with a simulated model between Simulink and MSMS

1 回表示 (過去 30 日間)
Stéphanie Monteiro
Stéphanie Monteiro 2023 年 2 月 23 日
回答済み: Sivapriya Srinivasan 2023 年 4 月 27 日
Hello,
I have the following model on Simulink:
This model is imported from the MSMS (a software for biomechanical modeling and model based development of movement neural prostheses). I added the block of the Arduino because I wanted that the input signal of the model is from Arduino. The motion data is send to the MSMS via UDP.
When I run the model in Simulink, the model in MSMS does not run and I don´t understand why because there is the input.
Can anyone help me, please?
Thank you!

回答 (1 件)

Sivapriya Srinivasan
Sivapriya Srinivasan 2023 年 4 月 27 日
Hey Stephanie,
Here are few ways which might help you resolve this issue:
  1. Please ensure that the input signal is being sent to the correct port.
  2. Cross check the data type and structure of input signal. [Should match what the MSMS model is expecting].
Also,try running the MSMS model separately, without the input from the Arduino, to confirm that the model is working correctly on its own.
Hope this helps!

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Arduino Hardware についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by