write two inputs to interpreted MATLAB block
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Edgar Ahh
le 22 Juil 2021
Modifié(e) : Edgar Ahh
le 23 Juil 2021
I have a problem: I have entered data to the interpreted Matlab Fcn block, however the script only manages to write the first data, the first variable ('a'), how could I get the writing of the other data ('b'). I attach images.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/692979/image.png)
0 commentaires
Réponse acceptée
Fangjun Jiang
le 23 Juil 2021
Specify as "mod1(u(1),u(2))". Look at the Help of the block.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Modeling dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!