Home > Applications > SpinW > m_files > sw_update.m

iFit/sw_update

PURPOSE ^

updates the SpinW installation from the internet

SYNOPSIS ^

function onlineRev = sw_update(installDir)

DESCRIPTION ^

 updates the SpinW installation from the internet

 SW_UPDATE()

 {onlineRev} = SW_UPDATE(installDir)

 sw_update creates a new folder with the latest release beside the current
 SpinW installation and add the new version to the working path (and
 removing the old one).

 Input:

 installDir    Folder name, where the new version is installed. Default is
               the parent folder of the current version of SpinW. If
               installDir == '.' update will be installed to current
               folder.

 Output:

 onlineVer     If output is expected, the revision number of the online
               SpinW is given. Optional.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 26-Nov-2018 15:08:42 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1