How to Open Script from Directory in Matlab
32 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I am new to Matlab, so I am wondering how to open a script in a directory in Matlab. The directory is on a server.
I tried typing the name of the script into the command line, but the directory Matlab is using does not match the directory where the script is. I tried typing in the full name of the script file, but that also did not work. I tried changing the directory that Matlab is using, but I could not find the one I need (since it is in terminal on a server).
If I'm in terminal on a server, how can I open a script in Matlab? Alternatively, how can I open the script in Matlab if it's on this server? Thank you!
0 Kommentare
Antworten (1)
Stephan
am 4 Mai 2018
Bearbeitet: Stephan
am 4 Mai 2018
Hi,
when working in Matlab try this:
run('C:\Your Directory\subfolder\scriptname.m')
or
run('\\11.222.333.44\Server Directory\subfolder\scriptname.m')
related to this topic see also here:
and here:
if you want to use this path more often.
Best regards
Stephan
0 Kommentare
Siehe auch
Kategorien
Mehr zu Search Path finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!