Get 1st element/reading from a Real-time encoder readings
Afficher commentaires plus anciens
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);
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur System Configuration dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
