Skip to content

scCreateKCLFile

  scCreateKCLFile creates a MAT-file giving it a 'kcl' extension.

  The function is usually called from a sigTOOL data import routine.

  Examples:
  matfilename=scCreateKCLFile(filename)
  matfilename=scCreateKCLFile(filename, targetpath)

  filename is the name of the source file from another application 
  e.g. a CED SMR file. Filename should include the full path for the file
  Targetpath will be used as  the path of the output matfilename.
  The target file will be deleted if it already exists.

  Toolboxes required: None

  Author: Malcolm Lidierth 10/06
  Copyright © The Author & King’s College London 2006-

  Acknowledgements:
  Revisions:
  25.08.08  Include selection of new file name when access denied
  26.08.08  Deal with folder access violations from mkdir