Contents     Functions         Previous Next     PDF Index

1.6  Licensing utilities

1.6.1  Installation procedure (SDT >=7.2)

  1. Download distribution (https://www.sdtools.com/distrib/beta/sdtcur.zip) and unzip to a temporary directory (no accents accepted in the name, do not use a directory in matlabroot/toolbox)
  2. go to this directory in MATLAB and use
  3. Save the sdt.lic file which you will receive by email in the same directory.
  4. Install using sdtkey install. You may define a local variable target='mydir' to specify a non default location for your SDT. The default fullfile(matlabroot,'toolbox','sdt') may require Administrator access. You should then start MATLAB as an administrator or install elsewhere and manually move the directory afterwards.
  5. edit startup or pathdef.

This is a sample script

% 1. Try automated download
 cd(tempdir);if ~exist('./sdtdemos');mkdir('sdtdemos');end
 cd(fullfile(tempdir,'sdtdemos'));
 if ~exist('sdtrlm')% Download and extract sdtrlm mex file to tempdir/sdtdemos
  fname='sdtcur.zip';
  urlwrite('https://www.sdtools.com/distrib/beta/sdtcur.zip',fname);
  unzip(fname)
 end
 % If it fails
 %  - do unzip by hand 
 %  - in Matlab go to the unzipped directory


% 2. Generate the license request string
 sdtcheck('sitereq')
 % In the ListDialog select the products of interest and press OK

% 3. Once you have received the sdt.lic file by email
%  place it in the directory where you downloaded the distribution

% 4. Install
target=fullfile(matlabroot,'toolbox','sdt'); % Or your own choice
sdtkey install

% 5. Possibly edit startup or pathdef

Note that the licence file is copied in sdt/7.5/sdt.lic if you ever need to edit it.

1.6.2  Floating licenses

Floating SDT licenses can use the RLM license manager. To install the server, download https://www.sdtools.com/distrib/RLM.zip.

On the client side (local copies of SDT), you will need to follow the procedure for SDT installation at https://www.sdtools.com/faq/Release.html, you must in particular provide the license request of the first installation matchine (further copies can then later be made as detailed below) and check that your SDT


©1991-2020 by SDTools
Previous Up Next