Integrations (PTC products, 3rd party products and code) > 3rd party product integrations (CM, DOORS, Rose, Simulink and XML) > Integration for MATLAB Simulink > Working with internal block diagrams > Ensuring flow ports, full ports and proxy ports are exported to a Simulink model (Integration for MATLAB Simulink)
  
Ensuring flow ports, full ports and proxy ports are exported to a Simulink model (Integration for MATLAB Simulink)
If you want to export the Flow Ports, Full Ports and Proxy Ports that appear on an Internal Block Diagram, those Flow Ports must appear on an Internal Block Diagram that is owned by their owning Part's type. Tell me more...
In addition, Flow Ports, Full Ports and Proxy Ports are exported when their direction is In or Out. Integration for MATLAB Simulink ignores Flow Ports, Full Ports and Proxy Ports that have a direction of InOut.
* 
The direction of a Full Port or Proxy Port is determined by the direction of the Flow Properties that are owned by the Full Port's or Proxy Port's type.
When importing or exporting the Description property of a Flow Port, Full Port or Proxy Port Integration for MATLAB Simulink uses the Description property that appears on the Internal Block Diagram that is owned by the Flow Port's type.
To ensure that a flow port, full port or proxy port is exported:
1. Open the Internal Block Diagram that you want to export.
2. Open the Property Pages of the Part that shows the Flow Port, Full Port or Proxy Port.
3. Click the Data Type tab, and then click the Properties button.
The Property Pages are now showing the properties of the Block that is the Part's type.
4. Right-click the background of the Property Pages, point to Find, and then click In Package Browser.
5. In the Package Browser, expand the Block.
6. If there is a child Internal Block Diagram, open that Internal Block Diagram.
If there are many child Internal Block Diagrams, open the first Internal Block Diagram.
If there are no child Internal Block Diagrams, create a child Internal Block Diagram - right-click the Block, point to New, point to SysML, and then click Internal Block Diagram.
7. On the child Internal Block Diagram, right-click the diagram background, point to Populate, and then click Owner.
8. Right-click the populated Block, point to Populate, and then click Contents.
When you export the Internal Block Diagram you right-clicked in Step 1, the Flow Port, Full Port or Proxy Port will be exported.