From: Michael Orlitzky Date: Wed, 6 Mar 2013 22:13:02 +0000 (-0500) Subject: Add an octaverc which modifies the load path and improved MATLAB compatibility. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=octave.git;a=commitdiff_plain;h=6cd387b2e42c3273c6cd48ad2e7e551bddd86474;hp=87d434fa93b3e52e8a5a0a9d99ae43492c35e1be Add an octaverc which modifies the load path and improved MATLAB compatibility. Update a comment in run-tests.m. --- 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');