def METHOD_NAME(fname, info, data_name="data"):
    """Load continuous (raw) data from a FieldTrip preprocessing structure.
    This function expects to find single trial raw data (FT_DATATYPE_RAW) in
    the structure data_name is pointing at.
    .. warning:: FieldTrip does not normally store the original information
                 concerning channel location, orientation, type etc. It is
                 therefore **highly recommended** to provide the info field.
                 This can be obtained by reading the original raw data file
                 with MNE functions (without preload). The returned object
                 contains the necessary info field.
    Parameters
    ----------
    fname : path-like
        Path and filename of the ``.mat`` file containing the data.
    info : dict or None
        The info dict of the raw data file corresponding to the data to import.
        If this is set to None, limited information is extracted from the
        FieldTrip structure.
    data_name : str
        Name of heading dict/variable name under which the data was originally
        saved in MATLAB.
    Returns
    -------
    raw : instance of RawArray
        A Raw Object containing the loaded data.
        See :class:`mne.io.Raw` for documentation of attributes and methods.
    See Also
    --------
    mne.io.Raw : Documentation of attributes and methods of RawArray.
    """
    read_mat = _import_pymatreader_funcs("FieldTrip I/O")
    fname = _check_fname(fname, overwrite="read", must_exist=True)
    ft_struct = read_mat(fname, ignore_fields=["previous"], variable_names=[data_name])
    # load data and set ft_struct to the heading dictionary
    ft_struct = ft_struct[data_name]
    _validate_ft_struct(ft_struct)
    info = _create_info(ft_struct, info)  # create info structure
    data = np.array(ft_struct["trial"])  # create the main data array
    if data.ndim > 2:
        data = np.squeeze(data)
    if data.ndim == 1:
        data = data[np.newaxis, ...]
    if data.ndim != 2:
        raise RuntimeError(
            "The data you are trying to load does not seem to " "be raw data"
        )
    raw = RawArray(data, info)  # create an MNE RawArray
    return raw