From: William Stevenson on
Hi

I am using Matlab 7.6 (R2008a) on XP SP2 with the standard Java 1.6.0. Sometimes I get a message "No method 'java.lang.System.getProperty'". The code that causes this error is

User = [java.lang.System.getProperty('user.name').toUpperCase.toString.toCharArray]';

How can I force Matlab to use getProperty reliably?

The system has an unfortunate habit: If I highlight the line and "Evaluate Selection" it works perfectly. If I use F10 (step), I get this error.
 | 
Pages: 1
Prev: Energy of signal
Next: XYZ Values to 2-D matrix