Get 1st element/reading from a Real-time encoder readings
Mostrar comentarios más antiguos
I am using an absolute encoder to read my motor in real time through udp on Simulink Real-time, and i would like to save the 1st element from the readings (the position at which the encoder starts at) to use it later on,
I am using the very simple function below, i tried to modify it to include a dynamic array thast stores all values of encoder yet, without success,
Any suggestions?
Thanks in advance!
function y = Encoder_I(Encoder_Readings)
y = Encoder_Readings(1);
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre System Configuration en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
