The easiest way to run YADA is as follows
1. Open matlab.
2. Change directory to the directory where YADA.m is located.
• | On MS-Windows: if you have installed YADA under "C:\code\yada" you can execute the command "cd C:\code\yada" from matlab's command prompt. |
• | On UNIX and Macinstosh OS X: if you have installed YADA under "/usr/local/yada" you execute the command "cd /usr/local/yada" from matlab's command prompt. |
3. Execute the command "YADA" from matlab's command prompt.
NOTE: YADA uses the "dos" matlab-command for a few important functions on computers running MS-Windows. This means that you should not install YADA on a drive that uses an UNC (Uniform Naming Convention) pathname, such as \\Server\YADA, since the "dos" command does not support such paths.
NOTE: Matlab is case sensitive for function and variable names. Since "YADA.m" is a matlab function you need to make sure that you write the function name in uppercase.
If you have a more recent version of matlab (e.g., version 7.0 and later), you can easily add YADA to the shortcuts toolbar and run it from there. The code needed for the shortcut callback is, of course, the same as the one above. The figure below provides the matlab front-end with YADA on the shortcuts toolbar.
To edit the code for the shortcut just follow the instructions under the "How to Add" shortcut. The shortcuts editor window is displayed in the figure below with the callback code.
NOTE: YADA comes with an icon (matlab only supports gif-files). The file is located in the icons subdirectory.
Page url: http://www.texlips.net/yada/help/index.html?how_to_run_yada.htm