From 6cd387b2e42c3273c6cd48ad2e7e551bddd86474 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 6 Mar 2013 17:13:02 -0500 Subject: [PATCH] Add an octaverc which modifies the load path and improved MATLAB compatibility. Update a comment in run-tests.m. --- .octaverc | 11 +++++++++++ run-tests.m | 4 ++++ 2 files changed, 15 insertions(+) create mode 100644 .octaverc diff --git a/.octaverc b/.octaverc new file mode 100644 index 0000000..25bb339 --- /dev/null +++ b/.octaverc @@ -0,0 +1,11 @@ +## +## Options for MATLAB compatibility. +## +allow_noninteger_range_as_index(true); +do_braindead_shortcircuit_evaluation(true); +history_timestamp_format_string("%%-- %D %I:%M %p --%%"); +page_screen_output(false); +print_empty_dimensions(false); + +addpath(genpath('~/src/octave/misc')); +addpath(genpath('~/src/octave/optimization')); diff --git a/run-tests.m b/run-tests.m index a5373fc..08b0f76 100755 --- a/run-tests.m +++ b/run-tests.m @@ -1,4 +1,8 @@ #!/usr/bin/octave --silent +# +# You'll need to use the .octaverc in this directory to get the proper +# paths. +# addpath('./unit_test'); -- 2.43.2