Skip to main content

PCMSMatrixGetStopCount

Syntax

int PCMSMatrixGetStopCount()

Parameters

None

Description

Gets the number of stops that are currently part of the trip matrix.

Return Values

Returns the number of stops that are currently part of the trip matrix.

Sample Code

// Error check to see if the stops are loaded to the matrix correctly
long lStopCount = PCMSMatrixGetStopCount();
if (lStopCount <= 0)
{
printf("ERROR: Could not load stops!\n");
}

Supported Since: PC*Miler Connect 26 Category: Matrix Functions

Last updated July 8, 2025.