"; } ?> None

TORSCHE Scheduling
Toolbox for Matlab

Name

xmlsave — saves variables to file in xml format.

Synopsis


        XMLSAVE(FILENAME,VARIABLE1,VARIABLE2,VARIABLE3,...)
        XMLSAVE('',VARIABLE1,VARIABLE2,VARIABLE3,...)
  out = XMLSAVE('',VARIABLE1,VARIABLE2,VARIABLE3,...)

Description

XMLSAVE saves variables into XML file named 'FILENAME'. Temporary file is created and immediately opened in editor if parameter FILENAME is empty string. Alternatively xmlsave returns conntents of xml file in the first output variable.

Example

  >> t=task('t1',5,1,10);
  >> txml=xmlsave('',t)
  txml =
  <?xml version="1.0" encoding="utf-8"?>
  <matlabdata date="24-Sep-2007 08:45:33" proccessor="TORSCHE Scheduling Toolbox for Matlab" ver="0.2">
     <task id="t"><!--Basic Params-->
        <name>t1</name>
        <proctime>5</proctime>
        <releasetime>1</releasetime>
        <deadline>10</deadline>
        <duedate>Inf</duedate>
        <weight>1</weight><!--Graphics parameters-->
        <graphicparam>
           <position>
              <x>0</x>
              <y>0</y>
           </position>
        </graphicparam>
     </task>
  </matlabdata>
Webmaster - Jan Dvořák (2004 - 2024)