Help with a simulated model between Simulink and MSMS

1 visualización (últimos 30 días)
Stéphanie Monteiro
Stéphanie Monteiro el 23 de Feb. de 2023
Respondida: Sivapriya Srinivasan el 27 de Abr. de 2023
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!

Respuestas (1)

Sivapriya Srinivasan
Sivapriya Srinivasan el 27 de Abr. de 2023
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!

Categorías

Más información sobre MATLAB Support Package for Arduino Hardware en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by