Get the port handle for the reference mode
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello All
Is there anyway to get the port handler for the reference model and then for Inport/Outport read the resolved signal ?
0 commentaires
Réponses (2)
Fangjun Jiang
le 2 Fév 2022
I would think that you porbably need to follow the Model block, open the referenced model and then get the input and output port handels and then the resolved signal object/names.
The info is saved in the referenced model. The referenced model is not loaded when barely open the top-level model.
Mohamed Hamed
le 6 Fév 2022
5 commentaires
Fangjun Jiang
le 7 Fév 2022
See my original answer. Forget about the "Model" block. Open the model and start from there.
Voir également
Catégories
En savoir plus sur Programmatic Model Editing 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!