Car Dispose

Removes a car from the model. 

There are several ways a car can be removed:

Use CarDispose (and not Sink or Exit) to remove any cars.

Parameters

Actions
On enter [code]
Code executed when the car enters the block. 
Local variablecar - the car that enters the block.

Functions

long count() - Returns the number of cars exited via this CarDispose block.

Ports

in
The input port.