Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Windows Support
 Matlab through Remote Desktop
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

marion
BIAC Alum

19 Posts

Posted - Sep 08 2006 :  1:15:36 PM  Show Profile  Reply with Quote
I'm remote desktopping into Sherrington from Yale in order to continue doing data analysis for the BIRN, and I've been unable to run Matlab through the remote desktop connection. When I try to open Matlab normally, it gives this error:

License Manager Error - 103
Terminal Server remote client not allowed
Feature: MATLAB
License Path: C:\Program Files\MATLAT\bin\win32\license.dat;C:\Program Files\MATLAB\bin\win32\*.lic
FLEXlm error: -103,577



Any idea if there's a fix/work-around for this issue? Yale should have it's own Matlab license, if that helps, but if I run the analysis on this machine locally then have to transfer all the data back and forth, which seems like a poor idea.

Dichter
BIAC Faculty

190 Posts

Posted - Sep 08 2006 :  1:17:17 PM  Show Profile  Visit Dichter's Homepage  Reply with Quote
Here's a batch file (I believe Josh wrote) you can try to launch Matlab remotely:

@echo off
REM Allows MATLAB 7 to run when launched from a Remote Desktop connection, by
REM temporarily setting MATLAB.exe to Windows NT application compatiblity mode.

setlocal
set MATLAB=C:\Program Files\MATLAB\bin\win32\MATLAB.exe
set REGKEY=HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

if "%PROPATH%"=="WINNT" (
echo Doesn't run on Windows NT.
) else (
if not exist "%MATLAB%" (
echo Couldn't find a version of MATLAB here:
echo "%MATLAB%"
) else (
reg add "%REGKEY%" /f /v "%MATLAB%" /t REG_SZ /d NT4SP5 > nul
start "" "%MATLAB%"
reg delete "%REGKEY%" /f /v "%MATLAB%" > nul
)
)

Gabriel S. Dichter, PhD
UNC Departments of Psychiatry & Psychology
http://www.can.unc.edu/
Go to Top of Page

marion
BIAC Alum

19 Posts

Posted - Sep 08 2006 :  1:22:03 PM  Show Profile  Reply with Quote
That fixed it, thank you.
Go to Top of Page

francis.favorini
Forum Admin

USA
618 Posts

Posted - Sep 12 2006 :  5:48:39 PM  Show Profile  Visit francis.favorini's Homepage  Reply with Quote
FYI, this batch file lives in P:\Fix\RMATLAB.BAT (written by Chuck and/or me).

-Francis

IT Director, Brain Imaging and Analysis Center
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.59 seconds. Snitz Forums 2000