Get 1st element/reading from a Real-time encoder readings
Mostra commenti meno recenti
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);
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su System Configuration in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
