• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

MATLAB is not enabled

New Here ,
Feb 26, 2009 Feb 26, 2009

Copy link to clipboard

Copied

why do I get this message when executing following command?
better_be_4 = psjavascriptu(2+2′)
??? Error using ==> psjavascriptu
MATLAB is not enabled
TOPICS
Actions and scripting

Views

1.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Adobe Employee ,
Mar 03, 2009 Mar 03, 2009

Copy link to clipboard

Copied

What version are you running of Photoshop? Is it Extended?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 03, 2009 Mar 03, 2009

Copy link to clipboard

Copied

photoshop Extended CS4

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 13, 2011 Apr 13, 2011

Copy link to clipboard

Copied

I do have the same problem as yours!

I have Photoshop CS3 Extended and Matlab 2007a 2008b 2009b 2010a 2010b 2011a.

All of Matlab versions returns the same error as

>> better_be_4 = psjavascriptu('2+2')
??? Error ==> psjavascriptu at 37
MATLAB is not enabled

Adobe is not going to answer to any technical questions from CS3 users;

they say the support is expired. They only answer to CS5 users.

Is the problem solved if I buy CS5?

Please somebody help!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Apr 15, 2011 Apr 15, 2011

Copy link to clipboard

Copied

I know it is not a good answer but have you tried reinstalling Photoshop?

The error is coming from this code which would make it look like that everything is installed and running correctly. Can you run any scripts on your machine? Try any in the File -> Scripts menu. Does OLE Automation work. Try any of the VBScripts in Adobe Photoshop CS3\Scripting\Sample Scripts\VBScript.

if s == 4294967295

error('MATLAB is not enabled');

end

Try this script as well and tell me if it says true or false. Copy paste into a JSX file and drop on Photoshop or run from ESTK.

alert(app.featureEnabled("MATLAB"));

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 25, 2011 Apr 25, 2011

Copy link to clipboard

Copied

Dear Tom Ruark, thank you very much for answering to my

question and sorry I am slow to respond.

> have you tried reinstalling Photoshop?

Yes, I have.

> Try any in the File -> Scripts menu.

I tried "Layered image to independent image files" in the menu,

which ran in a success.

> Try any of the VBScripts in Adobe Photoshop CS3\Scripting\Sample Scripts\VBScript

I found "Adobe Photoshop CS3\スクリプティングガイド\サンプルスクリプト\VBScript,"

(the pathname includes some Japanese characters)

tried double-clicking some of these. I saw some action is done, some demo

image is shown, and 'complete' dialog pop up.

> Try this script as well and tell me if it says true or false.

> Copy paste into a JSX file and drop on Photoshop.

> alert(app.featureEnabled("MATLAB"));

I did the above and a pop-up dialog said "false."

Thank you very much again!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Apr 26, 2011 Apr 26, 2011

Copy link to clipboard

Copied

False would make me believe that you are not running extended version of Photoshop. Can you send a picture of your splash screen? Do you have a 3D item in your top level menu?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 26, 2011 Apr 26, 2011

Copy link to clipboard

Copied

AH! Indeed, I found my version is non-extended.

Now I uninstall & reinstall, but the program keeps being non-extended.

Of course, on the install DVD I see

"ADOBE PHOTOSHOP CS3 EXTENDED WINDOWS".

After some web reading, I tried to follow this

http://www.adobe.com/support/contact/cscleanertool.html

but AdobeCreativeSuiteCleanerTool.exe stacked.

When I checked the log file

C:\Documents and Settings\[username]\Adobe Creative Suite Cleaner Tool.log

the stacking seemed to have happend when it invokes "adbcl.exe."

Anyway, I then again re-installed with Photoshop CS3 extended DVD,

but the situation is the same. When I boot Photoshop for the first

time after installation, the program doesn't prompt for serial # input

and keeps being non-extended version.

Then I thought this issue might be a matter of licencing.

I again called Adobe Japan licence center but she said it's not

relevant to licencing. When I asked her if Japan technical

support would take care of this problem, she said no, again

because it's CS3 and the support is expired.

FYI, our Photoshop CS3 extended/non-extended is so-called

"volume licence" ones and my local expert says no

activation/deactivation or e-Licence is needed.

I will appreciate you for further advice.

Thank you very much.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 19, 2011 Jul 19, 2011

Copy link to clipboard

Copied

With CS4 Extended and Matlab R2010b, I get the message:

??? Error using ==> psjavascriptu at 39
MATLAB is not enabled

Error in ==> psopendoc at 32
psresult = psjavascriptu(pstext);

With CS4 and Matlab R2008a, everything goes fine, on the same machine, under the same OS!

I guess there are some differences between the ways to make co-oerate CS4 and different editions of Matlab, about which neither Adobe nor Mathworks talk.

Honestly...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 19, 2011 Jul 19, 2011

Copy link to clipboard

Copied

What do you get for 'computer' at your 2010 Matlab prompt?

Can you give me the output of testall?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 19, 2011 Jul 19, 2011

Copy link to clipboard

Copied

LATEST

I got it!

1.You should verify if you are the right to change the file where you save what you do when opening "set path>add folder with subfolders".IF not, get it.

2.All changes have to be done when you are in the "c:\...\R2010b" directory

3.Probably it's necessary to use "xtools" in order to make all this work.I did it a long time ago and I dont't remember how I came to it, but it seems unavoidable.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines