From: Rebecca on
Hi

I have some old code written in Matlab 5.3.
Will I be able to run it in the latest student version, without any changes, or will I need to modify anything.
Note that I am not a programmer, I just use the software. The code was written about 10 years ago by somebody else.

Thanks
From: Walter Roberson on
Rebecca wrote:

> I have some old code written in Matlab 5.3.
> Will I be able to run it in the latest student version, without any
> changes, or will I need to modify anything.
> Note that I am not a programmer, I just use the software. The code was
> written about 10 years ago by somebody else.

Sorry, we cannot answer that for sure.

Changes have been made to Matlab, some of which are not backwards compatible.
If the code happens to rely on something that was changed, then it will not
work in a current version.

I would think it more likely than not that _something_ in the code will need
to be updated. It might, however, not be a difficult change.

I suggest you open the code in current Matlab and run mlint on it.
From: Matt Fig on
Also, if you get errors be sure to post them here. It is possible the folks here could fix it for you if you do your part. That means don't say, "I ran it and got an error. What's wrong?"

Show the complete text of the error message and maybe put a WHOS statement before the line which errors. Show that output here too. Good luck.
From: us on
"Matt Fig" <spamanon(a)yahoo.com> wrote in message <htpat6$2gl$1(a)fred.mathworks.com>...
> Also, if you get errors be sure to post them here. It is possible the folks here could fix it for you if you do your part. That means don't say, "I ran it and got an error. What's wrong?"
>
> Show the complete text of the error message and maybe put a WHOS statement before the line which errors. Show that output here too. Good luck.

mattTTTTT(!), my friend

why opening the pandora's box(?)...

:-)
urs
From: Matt Fig on
"us " <us(a)neurol.unizh.ch> wrote in message <htpbg1$8qc$1(a)fred.mathworks.com>...
> mattTTTTT(!), my friend
>
> why opening the pandora's box(?)...
>
> :-)
> urs


My excuse --- "Heading 'em off at the pass."

;-)