doc_LUKE

PURPOSE ^

LUKE - Access the on-line LUKE help

SYNOPSIS ^

function [stat,h1] = doc_LUKE(dkepath)

DESCRIPTION ^

    LUKE - Access the on-line LUKE help

    Access the on-line LUKE help. Enables to build it if necessary

   dkepath: dkepath structure 


by Y.PEYSSON CEA/IRFM <yves.peysson@cea.fr> and Joan Decker CEA/IRFM <joan.decker@cea.fr>

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001     function [stat,h1] = doc_LUKE(dkepath)
0002 %    LUKE - Access the on-line LUKE help
0003 %
0004 %    Access the on-line LUKE help. Enables to build it if necessary
0005 %
0006 %   dkepath: dkepath structure
0007 %
0008 %
0009 %by Y.PEYSSON CEA/IRFM <yves.peysson@cea.fr> and Joan Decker CEA/IRFM <joan.decker@cea.fr>
0010 %
0011 if nargin == 0,
0012     %
0013     dkepath = load_structures_yp('dkepath','','');
0014     %
0015 end
0016 %
0017 if nargin == 1 && isempty(dkepath),
0018     %
0019     dkepath = load_structures_yp('dkepath','','');
0020     %
0021 end
0022 %
0023 if nargin > 1,error('Too many input arguments in doc_LUKE.m');end
0024 %
0025 if ~exist([dkepath.luke_root,'Help/index.html'])
0026     %
0027     disp('The LUKE help has not been created on this computer during the install process.');
0028     %
0029     doc_opt = input('Do you want to build it now (WARNING: it may take long minutes) (y/n)? [y] : ','s');
0030     %
0031     if strcmp(doc_opt,'y'),
0032         %
0033         dirinit = pwd;
0034         cd(dkepath.luke_root);
0035         %
0036         eval('install_doc_LUKE');
0037         %
0038         cd(dirinit);
0039     end
0040 else
0041     web(['file://',dkepath.luke_root,'Help/index.html'], '-new');
0042 end

Community support and wiki are available on Redmine. Last update: 18-Apr-2019.