Matlab API integration problem (from MATLAB to Lumerical)

I’m having trouble calling Lumerical (e.g. device) from MATLAB. I have followed all the instructions listed in KB here:
https://kb.lumerical.com/install_matlab_integration.html
And I have set the path correctly. Here is the output from matlab (I’m using MATLAB 2017b and Lumerical 2019b on MacOS Mojave 10.14.6).

!echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Lumerical\ 2019b.app/Contents/Applications/FDTD\ Solutions.app/Contents/MacOS:/Applications/Lumerical\ 2019b.app/Contents/Applications/MODE\ Solutions.app/Contents/MacOS:/Applications/Lumerical\ 2019b.app/Contents/Applications/DEVICE.app/Contents/MacOS:/Applications/Lumerical\ 2019b.app/Contents/Applications/INTERCONNECT.app/Contents/MacOS

appopen(‘device’)
Error using appopen
Unable to launch the requested application
image

Please use the terminal to run both MATLAB and Lumerical products.

There might be something wrong with the edited file that matlab is using when running from the launchpad.
Also make sure that from the matlab command prompt, running the path command will show the same path as !echo $PATH system command

>> !echo $PATH
and
>> path

Should show the path for the installation directory for the products as well as the API e.g. /API/Matlab

Best,
Lito