S-PS block can't take a vector?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Why does the S-PS block take a signal builder block but cant take a vector of values? How can I do this? and/or how can I translate the signal builder signal to something I want, like t = 0:0.1:300 and sigIn = [t;rand(size(t))] for example. I can't get this from a signal builder block.
In reference to this example perhaps. http://www.mathworks.com/help/physmod/sdl/ug/complete-car-model-and-simulation.html
Thanks Daniel
1 Commento
Swarooph
il 4 Ott 2016
How are you trying to do this? Are you using a From Workspace block or an Input port? Also, when you say S-PS block can't take a vector of values, what do you mean? Do you get an error? Can you post that as well?
FWIW, I was able to feed in a vector using a From Workspace block in the model using variables tin and throttleIn that I created. Screenshot below.
Risposte (0)
Vedere anche
Categorie
Scopri di più su Sources in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!