#!/usr/bin/octave -qf source("./run_scripts/path_cd.m") arg_list = argv(); fileout=strcat(arg_list{1},"kfoldCV.txt"); delete(fileout); fileout=strcat(arg_list{1},"kfold_plotly.html"); delete(fileout); filename=strcat(arg_list{1},"kfoldCV_temp.txt"); fout_temp=fopen(filename,'w'); fprintf(fout_temp,arg_list{2}); kfoldCrossValid(arg_list{1},arg_list{2},arg_list{3}); fclose(fout_temp); delete(filename); command=cstrcat("/home/jziebart/python/Python-2.7.15/python ",base_dir,"/kfold_plotly.py ",arg_list{1}); test=system(command);