| Author |
Topic  |
|
|
marion
BIAC Alum

19 Posts |
Posted - Sep 08 2006 : 1:15:36 PM
|
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
|
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/ |
 |
|
|
marion
BIAC Alum

19 Posts |
Posted - Sep 08 2006 : 1:22:03 PM
|
| That fixed it, thank you. |
 |
|
|
francis.favorini
Forum Admin
    
USA
618 Posts |
Posted - Sep 12 2006 : 5:48:39 PM
|
FYI, this batch file lives in P:\Fix\RMATLAB.BAT (written by Chuck and/or me).
-Francis
|
IT Director, Brain Imaging and Analysis Center |
 |
|
| |
Topic  |
|