Quick start guide
First-time initialization instructions
-
Contact support (antti (at) smeklab.com) to obtain your licence and download instruction.
-
Download and unzip the toolbox
- Add EMDtool (with all subfolders) to your Matlab path
- e.g.
addpath(genpath('C:/path_to_folder/EMDtool')) - or add permanently via
startup.m
- e.g.
- Activate your license
emdtool.load_license('license_file_name.lic')- This, and the next step, can also be done with the
example_init_and_readme.min theEMDtool/Examplesfolder - For those with single-user licenses / November 2025 onwards: You will have received an organization-wide interim license valid for two weeks. To activate your full personal license, run the command
emdtool.license_id()in the Matlab command prompt, and email the output to Smeklab Ltd. You will receive your full license in a few days.
- Yes, this is cumbersome and home-brewy; however it is the view of Smeklab that our clients are best served by focusing on direct client-facing work and developing EMDtool itself, not dedicating personnel-hours to setting up an automatic licensing system.
- (OPTIONAL:)(But preferred) Download and unzip the free
gmshmesh generator for your operating system- Downloads page
- Please do recognize that
gmshis a separate software, governed by its own license agreement, only interfaced byEMDtoolvia a limited-functionality file interfaced - If you require other mesh generators, or wish to use
EMDtool’s own development-version mesh generator, please enquire via email
- (OPTIONAL:) Setup gmsh path, e.g.
emdtool.set_gmsh_path('C:/Programs/gmsh/')- see
help emdtool.set_gmsh_path
- see
Usage instructions
- Add EMDtool to your Matlab path (see 3. above)
- Do check out the
EMDtoolfamiliarization exercises. - Also check out the example scripts provided.
- Analyze away!
- see
Examples/readme.m+ example scripts for more detailed examples
- see
Where to find information?
Wondering how to do something? Please see if one of the following bullets helps:
- See the documentation for a specific
EMDtoolclass or functionality by either typinghelp classnameorhelp classname.method_namein the Matlab command prompt, or by checking up the corresponding documentation here online.- The search bar on the top of the page is super-helpful.
- See EMDtool briefly for a brief overview
- Again, do check out the
EMDtoolfamiliarization exercises. - See the frequently asked questions page
- Read the quick notes
Downloading a new version?
-
Download
-
Unzip
-
Add the new version to the path.
Indeed, you can easily switch between versions by simply adding and removing versions from the Matlab path. It’s a good idea to call restoredefaultpath and clear classes inbetween, though.
Occasionally, Matlab can be very obstinate about using old implementations of some classes, even if they have been nominally removed from the path. This can be verified by typing open <ClassName> in the command window, to open the class file (or its docfile, in case of .p-files) in the editor, and then checking if its path is old_version/EMDtool/ClassName.m instead of new_version/EMDtool/ClassName.m. Fear not - this is nothing that a good o’ restart (of Matlab) won’t fix.
NOTE: Loading objects made with different EMDtool versions may lead to unexpected behaviour.