Skip to main content
Royi A
Inspiring
February 28, 2010
Question

Matlab 2009b and Photoshop CS4 - 64 Bit

  • February 28, 2010
  • 2 replies
  • 1993 views

Hello.
Today I installed Win 7 64 bit.
On the 32 bit I used to integrate Photoshop with Matlab as specified here:
http://help.adobe.com/en_US/Photoshop/11.0/WS62AB0C24-121F-401c-9097-ABCE350A075 Ba.html

Today I tried doing it with the 64 Bit versions of the software (Both Matlab and Photoshop) yet with no success.
Tried to integrate Matlab to the 32 Bit version of Photoshop, still no success.

Th Error I get is (Running "testall" to verify integration):

Harness / mfile version: 11 Harness date: 21-Feb-2007 28-Feb-2010 18:50:43 ??? Error using ==> loadlibrary at 281 Microsoft Visual C++ 2005 or 2008 is required to use this feature. Error in ==> psjavascriptu at 22     loadlibrary([libPath ['psmatlab' libExt]], [libPath 'psmatlab.h']); Error in ==> testall at 43 pslogit(['App name: ' psjavascriptu('app.name')], psdisplay, pslog, pslogfile);

Anyone with an idea?
Has anyone succeeded integrating the 2 using the 64 Bit versions?
Thanks.

This topic has been closed for replies.

2 replies

Participant
March 9, 2012

Hello,

You are having the message becuase the compiler configuration is not set.

In the command window run:

mex.getCompilerConfigurations

You must get something like this:

ans =

  mex.CompilerConfiguration

  Package: mex

  Properties:

            Name: 'Microsoft Visual C++ 2010'

    Manufacturer: 'Microsoft'

        Language: 'C++'

         Version: '10.0'

        Location: 'C:\Program Files (x86)\Microsoft Visual Studio 10.0'

         Details: [1x1 mex.CompilerConfigurationDetails]

It will depend of your version.

If you don't have anything run: mex

it will give the options for choosing compiler, take the one of Microsoft Visual C++.

Then, it must work even it says:

??? Error using ==> mex at 208

Unable to complete successfully.

Then test the "test files", one by one.

Good luck,

Jorge Zavala

.

Tom Ruark
Inspiring
April 25, 2010

Do you have the C compiler installed? Make sure you have the 64 bit tools installed as well when install

ing MSDEV. They are not installed by default.

According to the "MATLAB Photoshop Readme.pdf"

..

8. A C compiler is required to use the Photoshop interface.
a. Windows users will need to install Microsoft Developer Studio
b. Macintosh users will need to install XCode

Royi A
Royi AAuthor
Inspiring
April 25, 2010

Could you tell me exactly what should I download and from where?

Thanks.

Tom Ruark
Inspiring
April 25, 2010

http://msdn.microsoft.com/en-us/vstudio/default.aspx

Visual Studio 2008 is what Photoshop CS5 was built with. You might be able to us the Express version.