mpsg_setpathtoPSG function searches for PSG MATLAB installation folder and adds this directory to MATLAB search path.
Syntax
[fval] = mpsg_setpathtoPSG()
Description
[fval] = mpsg_setpathtoPSG() searches for PSG MATLAB installation folder and adds this directory to MATLAB search path.
Output Arguments
fval |
equals 1 if path to PSG installation folder was found and successfully added to MATLAB search path, and 0 otherwise. |
Remarks
• | After installation of PSG, file mpsg_setpathtoPSG.m is located in folder './Aorda/PSG/MATLAB/'. To run function from any other folder copy to this folder two files: mpsg_setpathtoPSG.m and psg_getinstallpath.mexw64. |
• | mpsg_setpathtoPSG searches for only PSG MATLAB installation folder (can not find PSG libraries in any other location). |
• | To remove path to PSG MATLAB installation folder use MATLAB function rmpath. |