Hi all,
I am very new to octave and trying to edit an octave script. I have to pass the folder name as a command line argument and to open a file inside the octave script
For example:
data="" href="http://tmp.in">tmp.in") #This command will open the file
tmp.in in the current folder. Instead of using current folder, I have to give the folder name each time
So, I did like this octave < run.oct folder_name
Then I received the value in the octave script like this folder= argv(){1};
Then modified the the file loading line like this data="" href="http://tmp.in">tmp.in");
But, it is not working
Please let me know how to solve this problem.
Thank you