1 2 3 4
#!/usr/bin/octave -qf pcd=[fileparts(mfilename("fullpath")) "/path_cd.m"];source(pcd); arg_list = argv(); writeSettings(arg_list{1});