Implementing Level-1 MATLAB S-function
Afficher commentaires plus anciens
I'm using a Level-1 MATLAB S-function in simulink. Its
[sys,x0,str,ts] = fcn1(t,x,u,flag)
- u's size is 2
- x's size is 3
- How should I use this in Simulink/MATLAB?
- Should I enetr t and flag? How?
- How should I deal with inputs and outputs? Using DEMUX and MUX? How?
- What's the priority of u,x.t?
- What're the outputs that I receive?
I'll appreciate if you give me an full example.
Réponses (0)
Catégories
En savoir plus sur Simulink dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!