added error check on getting rep data
added error check on getting rep data

JimHokanson/matlab_standard_library,JimHokanson/matlab_standard_library,JimHokanson/matlab_standard_library,JimHokanson/matlab_standard_library,JimHokanson/matlab_standard_library