Feed and product ports must be defined for the unit operation to be able to connect streams to it. To define feed or product ports, edit the unit operation, and go to the Ports tab. Here, you can add, remove and rename ports. The ports tab will also show to which stream a port is connected, if any.
The Matlab CAPE-OPEN Unit Operation requires each feed and product port to be connected to a stream to properly run. More-over, the components defined for each of the connected streams must be the same, and must be in the same order. This is usually accomplished in a simulation environment by connecting streams of the same type.
You can obtain the properties of a feed port by using getFeedProp.
For each of the product ports, you need to define the state of the product by calling setProduct.