Just look at the file run_etncIVExamples.m and try the commands with copy and paste. Alternatively, with magma < run_etncIVExamples.m one can produce the file ExamplesForEtncIV.out.