changeset 12014:5b0310a437de octave-forge

oct2mat/inst/startup.m: Fix syntax error.
author jwe
date Wed, 28 Aug 2013 16:32:58 +0000
parents e6b2c81cfb98
children ffee8d441766
files extra/oct2mat/inst/startup.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/extra/oct2mat/inst/startup.m	Wed Aug 28 16:26:37 2013 +0000
+++ b/extra/oct2mat/inst/startup.m	Wed Aug 28 16:32:58 2013 +0000
@@ -18,9 +18,9 @@
 % This is part of the "Free Toolboxes for Matlab" (freetb4matlab)
 % suggested by Soren Hauberg Apr 2010
 
-if (~exist (OCTAVE_VERSION),'builtin')
+if (~exist ('OCTAVE_VERSION', 'builtin'))
      %% We are in Matlab
      inst_dir = fileparts (mfilename ('fullpath'));
      addpath (fullfile (inst_dir, 'basics'));
      addpath (fullfile (fileparts(inst_dir), 'general'),'-end');
-end
\ No newline at end of file
+end