'Can't open Matlab with .bat from remote Network, only from local Network
I have a simple .bat that opens Matlab. If I have it in a local Network it does work, but from a remote Network it doesn´t. Has anyone a idea why this is the case ? Thanks in advance
@ECHO off
cls
SET START_PATH=%~dp0
REM Get installation paths
CALL set_InstallPath.bat
REM ----- Select Matlab versionn -----
ECHO Select Matlab version:
ECHO.
ECHO.
ECHO [1] Matlab R2018b
ECHO [2] Matlab R2020b
ECHO [3] Matlab R2022a
ECHO ---------------------
ECHO [0] Escape
ECHO ---------------------
ECHO.
SET /p Variable=Selection:
IF %Variable%==1 SET MATLAB=%Matlab2018b%
IF %Variable%==2 SET MATLAB=%Matlab2020b%
IF %Variable%==3 SET MATLAB=%Matlab2022a%
IF %Variable%==0 GOTO ESCAPE
REM if NOT %Matlabversion%=="" GOTO MatlabAuswahl
REM Start Matlab and call startup-file
"%Matlab%" -r "cd('%START_PATH%'); run startup.m;"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
