how to import matrices from workspace to simulink block?

1 visualización (últimos 30 días)
i want to import state space matrices from worksapce to state space block in simulink plz help regards.

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 31 de Ag. de 2014
You have not to import them, If your matrices are A,B,C and D, just set the SS block parameters to A, B, C and D
  2 comentarios
Tong Zhao
Tong Zhao el 31 de Ag. de 2016
For those who's confused, first use your workspace commands to create four matrices A,B,C,D. Then go into your Simulink model, and double-click to open your State-Space block, then under the field of parameter A, just type A again, then under B, type B again, and so on. Done.
Christopher Davidson
Christopher Davidson el 4 de Oct. de 2019
Doesn't work for me. I get the error: "Invalid setting in "ABCD/Descriptor State-space' for parameter 'A' "

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre General Applications 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!

Translated by