Getting the properties value of connector destination port in system composer
Mostrar comentarios más antiguos
Hi,
I am writing a script to create a Electrical analysis for architectural model.
Lets suppose my connectors between two ports act as wire, I assign a resistivity and wire lenght to the connector as a stereotype.
And the source of the wire(connector) has a stereotype which mentions a CurrentValue.
Now, suppose there are 10 connections in the model. I want to scan all the connectors in the model; I use following:
connectors = find(modelObj, constraintforConnector , ElementType = "Connector");
Now that I have connectors I want its source port and destination port address and I want to access the properties of the these ports. How can I do it?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre System Composer en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!