code: def _readmat(fname, uint16_codec=None):
      try:
          read_mat = _import_pymatreader_funcs("EEGLAB I/O")
      except RuntimeError:  # pymatreader not installed
          eeg = loadmat(fname, squeeze_me=True, mat_dtype=False)
          return _check_for_scipy_mat_struct(eeg)
      else:
          return read_mat(fname, uint16_codec=uint16_codec)
  
imports: import numpy
  from scipy.io import loadmat
  from ...utils import _import_pymatreader_funcs
label_desc: Use image node_id 4 for calling a global function with example usage: _readmat(fname, uint16_codec) and returns: read_mat, _check_for_scipy_mat_struct