Array as input for look-up table in simulink
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a 451x250 double in my workspace, I would like to used it as a look-up talbe in simulink with the indicies as reference, so that array(1,1) would give the first number as output. How can this be done ?
0 comentarios
Respuestas (1)
Ryan G
el 11 de Jun. de 2013
Have you tried the n-d lookup tables? If that doesn't work you can also try defining it as a data store. You can setup the IC of the data store as this matrix then use a data store read along with a selector block that allows for a lot of flexibility.
2 comentarios
Kaustubha Govind
el 11 de Jun. de 2013
Dennis: You don't need to import the matrix as a signal using the From Workspace/File block, simply enter the name of the variable in the 'Table data' field of the n-D Lookup Table's dialog window.
Ver también
Categorías
Más información sobre Lookup Tables en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!