How to define data array in simulink
Mostrar comentarios más antiguos
Hello all,
I want to define the array in simulink which consist of 'n' elements in it.
Can I read and write the array elements individually? If yes. How.?
please tell me as early as possible.
Thanks and Regards,
Rahut Patil.
2 comentarios
madhan ravi
el 28 de Mzo. de 2019
Use constant block, what do you mean by read and write the array individually?
rahut patil
el 28 de Mzo. de 2019
Respuestas (3)
madhan ravi
el 28 de Mzo. de 2019
0 votos


2 comentarios
rahut patil
el 28 de Mzo. de 2019
Editada: madhan ravi
el 28 de Mzo. de 2019
madhan ravi
el 28 de Mzo. de 2019
Editada: madhan ravi
el 28 de Mzo. de 2019
Share the picture of your model/upload your model by clicking the paper clip button.
rahut patil
el 28 de Mzo. de 2019
0 votos
2 comentarios
rahut patil
el 28 de Mzo. de 2019
madhan ravi
el 28 de Mzo. de 2019

% MATLAB Function code
function y = fcn(u,index_number,value_assigned)
y = u;
y(index_number) = value_assigned;
rahut patil
el 9 de Mayo de 2019
0 votos
Categorías
Más información sobre Subsystems en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!