Run telnet with cmd in MATLAB command window
Mostra commenti meno recenti
Hey, I have some trouble with using the command interface in MATLAB.
When I run system('cmd'), the command prompt starts and is displayed in the matlab command window. When I now type telnet at the cursor position in my matlab command window, it does not know the command 'telnet'. When I start telnet in the normal windows command window without any matlab stuff, everything works fine with that command.
What can be wrong with that?
Thanks, Martin
Risposta accettata
Più risposte (3)
Walter Roberson
il 29 Giu 2011
MATLAB has set the PATH environment variable differently than you are expecting.
echo $PATH
You can set the PATH inside of MATLAB by using setenv('PATH',newpath)
Martin
il 30 Giu 2011
0 voti
1 Commento
Walter Roberson
il 30 Giu 2011
Sorry, I will be busy today and will not have time to explain; someone else should be able to assist you.
Gregor Dempke
il 19 Ott 2019
0 voti
cmd
Categorie
Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!