Borrar filtros
Borrar filtros

Simulink ignores the first value

3 visualizaciones (últimos 30 días)
Alexander Guillen
Alexander Guillen el 5 de Abr. de 2023
Comentada: Walter Roberson el 5 de Abr. de 2023
I would like to display all the elements of an array I created in the workspace into the display block in simulink , but the first element does not show up. How can I fix that?

Respuestas (1)

Alexander Guillen
Alexander Guillen el 5 de Abr. de 2023
I figured it out. If anyone wants to know - just use a constant block instead of "from workspace" block. I dont know why this is like that but it is.
  1 comentario
Walter Roberson
Walter Roberson el 5 de Abr. de 2023
When you use From Workspace, then the first column of the array (or vector) is treated as being the time that the sample is to be presented to the model.

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by