SDT-base         Contents     Functions         Previous Next     PDF Index

1.7  Licensing utilities

1.7.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.7.2  Floating license installation

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 (user copies of SDT), you will need to follow the procedure for SDT installation at https://www.sdtools.com/faq/Release.html,

1.7.3  Floating license usage

When using a floating license on a shared network, you don't need to install SDT on each computer. You can simply add the directory to your path by adding the following lines to your startup.m file

 pw0=pwd;
 cd('target') % Replace target by the correct location
 sdtcheck('path');cd(pw0);clear pw0

If you do not have a shared drive, simply copy the SDT directory (use which('feplot') to verify its location) from one computer to the next.


©1991-2024 by SDTools
Previous Up Next