I get the following message when starting MATLAB:
Last login: ..... Welcom to Darwin! wsmac:~ username1$ su username2 Password: wsmac:/Users/username1 username2$ /Applications/MATLAB73/bin/matlab ----------------------------- You (username2) are not logged in to the Mac console (user username1 is logged in to the console), and you are not the root user. The Java virtual machine will be started without a display. Use -nojvm if you do not want to start the Java virtual machine. -----------------------------
After this MATLAB starts up in the terminal window. When I go on and create and submit a distributed computing job or use timer objects, I get an error as you can see below.
jm = findResource(...);job = createJob(jm);createTask(job, @sum, 1, {[1 1]});createTask(job, @sum, 1, {[2 2]});createTask(job, @sum, 1, {[3 3]});submit(job);waitForState(job,'finished',60)
??? Error using ==> timer.timer The timer objects require Java AWT support.
Best Answer