Skip to content

scImport

  scImport provides a common gateway to all other import functions

  Example:
  targetfile=scImport(funchandle, extensionlist)
  targetfile=scImport(funchandle, extensionlist, postImportFunc)
  Inputs: funchandle      is the handle if the relevant ImportXXXX function
          extensionlist   is a list of file extensions that can be opened
          postImportFunc  is the handle of a MATLAB function that will be
                            called after the import is completed.
                            This function should take the form:
                                MyFunction(sourcefilename, targetfile)
                          ScImport will call the function providing the
                          appropriate file names. MyFunction might, for
                          example add custom variable to the sigTOOL data
                          file);


  Output: targetfile      is the name of the generated sigTOOL data file

 --------------------------------------------------------------------------
  Author: Malcolm Lidierth 03/07
  Copyright © The Author & King's College London 2007
 --------------------------------------------------------------------------

  Revisions:
        26.09.09    Ignore invalid target folders in
                        Filing.ImportReplace.Target
        15.11.09    Add support for postImportFunc argument