Install Photoshop and MATLAB on your computer. Once you have installed Photoshop Extended and MATLAB, you should verify the MATLAB integration.
You can set up a path to Photoshop Extended to allow direct access to Photoshop commands from MATLAB.