]> gitweb.michael.orlitzky.com - octave.git/commitdiff
Add an octaverc which modifies the load path and improved MATLAB compatibility.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 6 Mar 2013 22:13:02 +0000 (17:13 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 6 Mar 2013 22:13:02 +0000 (17:13 -0500)
Update a comment in run-tests.m.

.octaverc [new file with mode: 0644]
run-tests.m

diff --git a/.octaverc b/.octaverc
new file mode 100644 (file)
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'));
index a5373fc15d3214eefae5c7ea6187fe5e31dcf632..08b0f765f2609c8ff02aca3bcab7ec28f33b62be 100755 (executable)
@@ -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');