From: Holger Krupp on
Hi,

I've got a big problem.

I'd like to use a MATLAB toolbox. All requirements are installed but it won't run.
I open the main .m file (let's say it's called 'hello.m'). I press the runbutton at the top of the editor and it always says Undefined function or variable 'hello'.

which hallo says:

D:\directory\hallo.m % Has no license available

And it's not even just that file, every file I create in that folder even if it contains just

A = 2

or s.th. like that won't work.
I added the Folder to the path, but the problem remains. Other files, in other folders work fine.

I'm using MATLAB 7.10.0 (R2010a) at a Windows XP PC.

Does anyone has an idea how to fix this or what the problem can be?
From: Walter Roberson on
Holger Krupp wrote:

> I'd like to use a MATLAB toolbox. All requirements are installed but it
> won't run. I open the main .m file (let's say it's called 'hello.m'). I
> press the runbutton at the top of the editor and it always says
> Undefined function or variable 'hello'.
>
> which hallo says:
>
> D:\directory\hallo.m % Has no license available

You are trying to save your files in one of the directories that Matlab
is installed in. Put the files somewhere else, such as on your desktop .
From: Holger Krupp on
Walter Roberson <roberson(a)hushmail.com> wrote in message <CRQDn.182229$NH1.133477(a)newsfe14.iad>...

> You are trying to save your files in one of the directories that Matlab
> is installed in. Put the files somewhere else, such as on your desktop .

No, that's not the problem. Matlab is installed somewhere on the c:\ Harddrive, my Matlabcodes are located on the d:\ Harddrive. I even copied it to 'My Documents' and other folders - it doen't change anything.
From: Walter Roberson on
Holger Krupp wrote:
> Walter Roberson <roberson(a)hushmail.com> wrote in message
> <CRQDn.182229$NH1.133477(a)newsfe14.iad>...
>
>> You are trying to save your files in one of the directories that
>> Matlab is installed in. Put the files somewhere else, such as on your
>> desktop .
>
> No, that's not the problem. Matlab is installed somewhere on the c:\
> Harddrive, my Matlabcodes are located on the d:\ Harddrive. I even
> copied it to 'My Documents' and other folders - it doen't change anything.

Sorry, I'm really falling asleep here (nearly 4 AM here.)

The 'no license' message indicates that matlab believes that the
directory is part of the Matlab installation. I don't know if that is a
mistake on your part or if it is a problem with the matlab installation.
From what I have read here, Mathworks offers free support for
installation issues.