How to have variable-sized output for Simulink MATLAB-function block?
Afficher commentaires plus anciens
I have a MATLAB function-block in Simulink and I would like to have the output port of the block dynamically sized based on an input parameter. Eg:
function[y] = MATLABblock(u, s)
y = someCalc(u,s) %%Returns array of size s %%
Is this possible?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Model Verification 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!