Error in function Adapter_SIMA_Tier1() at line 359. Error Message: Undefined function 'PT' for input arguments of type 'logical'.