Thank you for downloading the source code of the LESM program!

To run the code in MATLAB, please make sure that the lesm.m file, and all the code folders are on the current MATLAB directory.

The program may be initialized by typing "lesm" on the command prompt, or running the code on the lesm.m file (shortcut:F5)

The default mode of the program is the Interactive-Graphics Version. 

To run the non-graphical version, change the value of the variable "mode" to 0, inside the lesm.m file, on the "User Input" section.

For the non-graphical version, it is also necessary to set the path and name of the .lsm file to be opened, by setting a string to
the "fileName" variable, inside the lesm.m file, on the "User Input" section.


More information can be found on the LESM program website:
https://web.tecgraf.puc-rio.br/lesm/