How to extract column data in Simulink?
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi, I have been working with Simulink just for few days. I have a Discrete State Space system. My input is defined in the "Model Configuration parameter" as [time',i1s',i2s'], where i1s and i2s are my source currents. Let's say that the size of i1s' is equal to N x 1. I get a voltage as an output. Now, the output should be a vector that has a number of rows equal to 2N x 1. I want to extract only the first N rows. Which block shall I use in Simulink? I am taking a look at Selector and Variable Selector but I cannot make them work.
2 commentaires
Réponse acceptée
Birdman
le 30 Nov 2017
Use a Demux with 2 outputs. It should divide the rows equally.
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interactive Model Editing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!