|
From: | Raghu ram, Posimsetti (P.) |
Subject: | Default Path in Octave 4.2.1 |
Date: | Mon, 12 Mar 2018 10:22:58 +0000 |
Hello, I am trying to set default path while launching the tool, same code working with Octave 4.0.3 and not working 4.2.1 Modified code if file “octaverc”, path: Octave-4.2.1\share\octave\site\m\startup Added code: cdsid = lower(getenv('USERNAME')); pathdir = strcat('C:\Users\',cdsid,'\Documents\OCTAVE'); if isdir(pathdir) cd(getenv(pathdir); else mkdir(pathdir); cd(pathdir); end where cdsid is user name. after adding the above code default path not setting to expected one, instead default path is the folder where the Octave files are. Request you to help me to resolve this issue. Regards Raghuram Posimsetti Systems Engineering - MBSE, CAE Requirements, Engineering & Manufacturing RMZ Millenia -II, Campus 3A, Chennai –600 096 TamilNadu – India. Int: +91-44-6655-6124 FordNet:- 8-357-6124 Go Further |
[Prev in Thread] | Current Thread | [Next in Thread] |