2918
|
1 Summary of changes since version 2.0.5: |
|
2 -------------------------------------- |
|
3 |
|
4 * New operators. Octave's parser now recognizes the following |
|
5 operators: << >> += -= *= /= .+= .-= .*= ./= &= |= <<= >>=. So |
|
6 far, there are only a few operations defined that actually use |
|
7 them (this should change before 2.1 is released). |
|
8 |
|
9 * New built-in data types: |
|
10 |
|
11 logical: |
|
12 |
|
13 A true value is represented by 1, and false value by 0. |
|
14 Comparison operations like <, <=, ==, >, >=, and != now return |
|
15 logical values. Indexing operations that use zero-one style |
|
16 indexing must now use logical values. You can use the new |
|
17 function logical() to convert a numeric value to a logical |
|
18 value. This avoids the need for the built-in variable |
|
19 `prefer_zero_one_indexing', so it has been removed. Logical |
|
20 values are automatically converted to numeric values where |
|
21 appropriate. |
|
22 |
|
23 file: |
|
24 |
|
25 A file object represents an open Octave stream object. The |
|
26 fopen function now returns a file object instead of an integer. |
|
27 File objects can be converted to integers automatically, and the |
|
28 other functions that work with file ids still work with |
|
29 integers, so this change should be backward compatible. |
|
30 |
|
31 The binary left-shift operator `<<' has been defined to work as |
|
32 in C++ for file objects and built-in types. For example, |
|
33 |
|
34 my_stream = fopen ("foo", "w"); |
|
35 my_stream << "x = " << pi << " marks the spot\n"; |
|
36 |
2922
|
37 writes `x = 3.1416 marks the spot' in the file foo. |
2918
|
38 |
|
39 The built-in variables stdin, stdout, and stderr are now also |
|
40 file objects instead of integers. |
|
41 |
|
42 list: |
|
43 |
|
44 A list is an array of Octave objects. It can be indexed using |
|
45 the normal indexing operator. For example, |
|
46 |
|
47 x = make_list ([1,2;3,4], 1, "foo"); |
|
48 stdout << x(2) << "\n" |
|
49 1 |
|
50 stdout << x; |
|
51 ( |
|
52 [1] = |
|
53 |
|
54 1 2 |
|
55 3 4 |
|
56 |
|
57 [2] = 1 |
|
58 [3] = foo |
|
59 ) |
|
60 |
|
61 There is currently no special syntax for creating lists; you |
|
62 must use the make_list function. |
2845
|
63 |
2852
|
64 * Commas in global statements are no longer special. They are now |
|
65 treated as command separators. This removes a conflict in the |
2853
|
66 grammar and is consistent with the way Matlab behaves. The |
|
67 variable `warn_comma_in_global_decl' has been eliminated. |
2852
|
68 |
2845
|
69 * It is now possible to declare static variables that retain their |
|
70 values across function calls. For example, |
|
71 |
|
72 function ncall = f () static n = 0; ncall = ++n; endfunction |
|
73 |
|
74 defines a function that returns the number of times that it has |
|
75 been called. |
2800
|
76 |
|
77 * Functions like quad, fsolve, and lsode can take either a function |
|
78 name or a simple function body as a string. For example, |
|
79 |
|
80 quad ("sqrt (x)", 0, 1) |
|
81 |
|
82 is equivalent to |
|
83 |
|
84 function y = f (x) y = sqrt (x); endfunction |
|
85 quad ("f", 0, 1) |
|
86 |
2815
|
87 * If the argument to eig() is symmetric, Octave uses the specialized |
|
88 Lapack subroutine for symmetric matrices for a significant |
|
89 increase in performance. |
|
90 |
2851
|
91 * If the argument to lsode that names the user-supplied function is |
|
92 a 2-element string array, the second element is taken as the name |
|
93 of the Jacobian function. The named function should have the |
|
94 following form: |
|
95 |
|
96 JAC = f (X, T) |
|
97 |
|
98 where JAC is the Jacobian matrix of partial derivatives of the |
|
99 right-hand-side functions that define the set of differential |
|
100 equations with respect to the state vector X. |
|
101 |
2745
|
102 Summary of changes for version 2.0.5: |
|
103 ------------------------------------ |
|
104 |
2767
|
105 * A `switch' statement is now available. See the Statements chapter |
|
106 in the manual for details. |
|
107 |
2745
|
108 * Commands like ls, save, and cd may now also be used as formal |
|
109 parameters for functions. |
|
110 |
|
111 * More tests. |
|
112 |
2702
|
113 Summary of changes for version 2.0.4: |
|
114 ------------------------------------ |
|
115 |
|
116 * It is now possible to use commands like ls, save, and cd as simple |
|
117 variable names. They still cannot be used as formal parameters |
|
118 for functions, or as the names of structure variables. Failed |
|
119 assignments leave them undefined (you can recover the orginal |
2704
|
120 function definition using clear). |
|
121 |
|
122 * Is is now possible to invoke commands like ls, save, and cd as |
|
123 normal functions (for example, load ("foo", "x", "y", "z")). |
2702
|
124 |
2666
|
125 Summary of changes for version 2.0.3: |
|
126 ------------------------------------ |
|
127 |
|
128 * The manual has been completely revised and now corresponds much |
|
129 more closely to the features of the current version. |
|
130 |
|
131 * The return value for assignment expressions is now the RHS since |
|
132 that is more consistent with the way other programming languages |
|
133 work. However, Octave still prints the entire LHS value so that |
|
134 |
|
135 x = zeros (1, 2); |
|
136 x(2) = 1 |
|
137 |
|
138 still prints |
|
139 |
|
140 x = |
|
141 |
|
142 0 1 |
|
143 |
|
144 but an assignment like |
|
145 |
|
146 z = x(2) = 1 |
|
147 |
|
148 sets z to 1 (not [ 0, 1 ] as in previous versions of Octave). |
|
149 |
2683
|
150 * It is now much easier to make binary distributions. See the |
|
151 Binary Distributions section of the manual for more details. |
|
152 |
2615
|
153 Summary of changes for version 2.0.2: |
2613
|
154 ------------------------------------ |
|
155 |
2621
|
156 * Octave now stops executing commands from a script file if an error |
|
157 is encountered. |
|
158 |
|
159 * The return, and break commands now cause Octave to quit executing |
|
160 commands from script files. When used in invalid contexts, the |
|
161 break, continue, and return commands are now simply ignored |
|
162 instead of producing parse errors. |
|
163 |
2613
|
164 * size ("") is now [0, 0]. |
|
165 |
2634
|
166 * New functions: |
|
167 |
|
168 sleep -- pause execution for a specified number of seconds |
|
169 usleep -- pause execution for a specified number of microseconds |
|
170 |
2452
|
171 Summary of changes for version 2.0: |
|
172 ---------------------------------- |
|
173 |
2520
|
174 * The set and show commands for setting and displaying gnuplot |
|
175 parameters have been replaced by gset and gshow. This change will |
|
176 probably break lots of things, but it is necessary to allow for |
|
177 compatibility with the Matlab graphics and GUI commands in a |
|
178 future version of Octave. (For now, the old set and show commands |
|
179 do work, but they print an annoying warning message to try to get |
|
180 people to switch to using gset.) |
|
181 |
2581
|
182 * Octave has been mostly ported to Windows NT and Windows 95 using |
|
183 the beta 17 release of the Cygnus GNU-WIN32 tools. Not everything |
|
184 works, but it is usable. See the file README.WINDOWS for more |
|
185 information. |
|
186 |
2580
|
187 * Dynamic linking works on more systems using dlopen() and friends |
|
188 (most modern Unix systems) or shl_load() and friends (HP/UX |
|
189 systems). A simple example is provided in examples/hello.cc. |
|
190 For this feature to work, you must configure Octave with |
|
191 --enable-shared. You may also need to have a shared-library |
|
192 version of libg++ and libstdc++. |
|
193 |
2452
|
194 * New data types can be added to Octave by writing a C++ class. On |
|
195 systems that support dynamic linking, new data types can be added |
|
196 to an already running Octave binary. A simple example appears in |
|
197 the file examples/make_int.cc. Other examples are the standard |
|
198 Octave data types defined in the files src/ov*.{h,cc} and |
2580
|
199 src/op-*.cc. |
2452
|
200 |
|
201 * The configure option --enable-bounds-check turns on bounds |
|
202 checking on element references for Octave's internal array and |
|
203 matrix classes. It's enabled by default. To disable this |
|
204 feature, configure Octave with --disable-bounds-check. |
|
205 |
|
206 * The C-style I/O functions (fopen, fprintf, etc.) have been |
|
207 rewritten to be more compatible with Matlab. The fputs function |
|
208 has also been added. Usage of the *printf functions that was |
|
209 allowed in previous versions of Octave should still work. |
|
210 However, there is no way to make the new versions of the *scanf |
|
211 functions compatible with Matlab *and* previous versions of |
|
212 Octave. An optional argument to the *scanf functions is now |
|
213 available to make them behave in a way that is compatible with |
|
214 previous versions of Octave. |
|
215 |
2511
|
216 * Octave can now read files that contain columns of numbers only, |
|
217 with no header information. The name of the loaded variable is |
|
218 constructed from the file name. Each line in the file must have |
|
219 the same number of elements. |
|
220 |
2452
|
221 * The interface to the pager has changed. The new built-in variable |
|
222 `page_output_immediately' controls when Octave sends output to the |
|
223 pager. If it is nonzero, Octave sends output to the pager as soon |
|
224 as it is available. Otherwise, Octave buffers its output and |
|
225 waits until just before the prompt is printed to flush it to the |
|
226 pager. |
|
227 |
|
228 * Expressions of the form |
|
229 |
|
230 A(i,j) = x |
|
231 |
|
232 where X is a scalar and the indices i and j define a matrix of |
|
233 elements now work as you would expect rather than giving an error. |
|
234 I am told that this is how Matlab 5.0 will behave when it is |
|
235 released. |
|
236 |
|
237 * Indexing of character strings now works. |
|
238 |
|
239 * The echo command has been implemented. |
|
240 |
|
241 * The document command is now a regular function. |
|
242 |
|
243 * New method for handling errors: |
|
244 |
|
245 try |
|
246 BODY |
|
247 catch |
|
248 CLEANUP |
|
249 end_try_catch |
|
250 |
|
251 Where BODY and CLEANUP are both optional and may contain any |
|
252 Octave expressions or commands. The statements in CLEANUP are |
|
253 only executed if an error occurs in BODY. |
|
254 |
|
255 No warnings or error messages are printed while BODY is |
|
256 executing. If an error does occur during the execution of BODY, |
|
257 CLEANUP can access the text of the message that would have been |
|
258 printed in the builtin constant __error_text__. This is the same |
|
259 as eval (TRY, CATCH) (which may now also use __error_text__) but |
|
260 it is more efficient since the commands do not need to be parsed |
|
261 each time the TRY and CATCH statements are evaluated. |
|
262 |
|
263 * Octave no longer parses the help command by grabbing everything |
|
264 after the keyword `help' until a newline character is read. To |
|
265 get help for `;' or `,', now, you need to use the command |
|
266 `help semicolon' or `help comma'. |
|
267 |
|
268 * Octave's parser now does some simple constant folding. This means |
|
269 that expressions like 3*i are now evaluated only once, when a |
|
270 function is compiled, and the right hand side of expressions like |
|
271 a = [1,2;3,4] are treated as true matrix constants rather than |
|
272 lists of elements which must be evaluated each time they are |
|
273 needed. |
|
274 |
|
275 * Built-in variables that can take values of "true" and "false" can |
|
276 now also be set to any nonzero scalar value to indicate "true", |
|
277 and 0 to indicate "false". |
|
278 |
|
279 * New built-in variables `history_file', `history_size', and |
|
280 `saving_history'. |
|
281 |
|
282 * New built-in variable `string_fill_char' specifies the character |
|
283 to fill with when creating arrays of strings. |
|
284 |
|
285 * If the new built-in variable `gnuplot_has_frames' is nonzero, |
|
286 Octave assumes that your copy of gnuplot includes support for |
|
287 multiple plot windows when using X11. |
|
288 |
|
289 If the new built-in variable `gnuplot_has_multiplot' is nonzero, |
|
290 Octave assumes that your copy of gnuplot has the multiplot support |
|
291 that is included in recent 3.6beta releases. |
|
292 |
|
293 The initial values of these variables are determined by configure, |
|
294 but can be changed in your startup script or at the command line |
|
295 in case configure got it wrong, or if you upgrade your gnuplot |
|
296 installation. |
|
297 |
|
298 * The new plot function `figure' allows multiple plot windows when |
|
299 using newer versions of gnuplot with X11. |
|
300 |
|
301 * Octave now notices when the plotter has exited unexpectedly. |
|
302 |
|
303 * New built-in variable `warn_missing_semicolon'. If nonzero, Octave |
|
304 will warn when statements in function definitions don't end in |
|
305 semicolons. The default value is 0. |
|
306 |
|
307 * Octave now attempts to continue after floating point exceptions |
|
308 or out-of-memory errors. |
|
309 |
|
310 * If Octave crashes, it now attempts to save all user-defined |
|
311 variables in a file named `octave-core' in the current directory |
|
312 before exiting. |
|
313 |
|
314 * It is now possible to get the values of individual option settings |
|
315 for the dassl, fsolve, lsode, npsol, qpsol, and quad functions |
|
316 using commands like |
|
317 |
|
318 dassl_reltol = dassl_options ("relative tolerance"); |
|
319 |
|
320 * The svd() function no longer computes the left and right singular |
|
321 matrices unnecessarily. This can significantly improve |
|
322 performance for large matrices if you are just looking for the |
|
323 singular values. |
|
324 |
|
325 * The filter() function is now a built-in function. |
|
326 |
|
327 * New function randn() returns a pseudo-random number from a normal |
|
328 distribution. The rand() and randn() functions have separate |
|
329 seeds and generators. |
|
330 |
|
331 * Octave's command-line arguments are now available in the built-in |
|
332 variable `argv'. The program name is also available in the |
|
333 variables `program_invocation_name' and `program_name'. If |
|
334 executing a script from the command line (e.g., octave foo.m) or |
|
335 using the `#! /bin/octave' hack, the program name is set to the |
|
336 name of the script. |
|
337 |
|
338 * New built-in variable `completion_append_char' used as the |
|
339 character to append to successful command-line completion |
|
340 attempts. The default is " " (a single space). |
|
341 |
|
342 * Octave now uses a modified copy of the readline library from |
|
343 version 1.14.5 of GNU bash. |
|
344 |
|
345 * In prompt strings, `\H' expands to the whole host name. |
|
346 |
|
347 * New built-in variable `beep_on_error'. If nonzero, Octave will try |
|
348 to ring your terminal's bell before printing an error message. |
|
349 The default value is 0. |
|
350 |
2554
|
351 * For functions defined from files, the type command now prints the |
|
352 text of the file. You can still get the text reconstructed from |
|
353 the parse tree by using the new option -t (-transformed). |
|
354 |
2452
|
355 * New command-line argument --traditional sets the following |
|
356 preference variables for compatibility with Matlab: |
|
357 |
|
358 PS1 = ">> " |
|
359 PS2 = "" |
|
360 beep_on_error = 1 |
|
361 default_save_format = "mat-binary" |
|
362 define_all_return_values = 1 |
|
363 do_fortran_indexing = 1 |
|
364 empty_list_elements_ok = 1 |
|
365 implicit_str_to_num_ok = 1 |
|
366 ok_to_lose_imaginary_part = 1 |
|
367 page_screen_output = 0 |
|
368 prefer_column_vectors = 0 |
|
369 prefer_zero_one_indexing = 1 |
|
370 print_empty_dimensions = 0 |
|
371 treat_neg_dim_as_zero = 1 |
|
372 warn_function_name_clash = 0 |
|
373 whitespace_in_literal_matrix = "traditional" |
|
374 |
|
375 * New functions: |
|
376 |
|
377 readdir -- returns names of files in directory as array of strings |
|
378 mkdir -- create a directory |
|
379 rmdir -- remove a directory |
|
380 rename -- rename a file |
|
381 unlink -- delete a file |
|
382 umask -- set permission mask for file creation |
|
383 stat -- get information about a file |
|
384 lstat -- get information about a symbolic link |
2496
|
385 glob -- perform filename globbing |
|
386 fnmatch -- match strings with filename globbing patterns |
2452
|
387 more -- turn the pager on or off |
|
388 gammaln -- alias for lgamma |
|
389 |
|
390 * New audio functions from Andreas Weingessel |
|
391 <Andreas.Weingessel@ci.tuwien.ac.at>. |
|
392 |
2458
|
393 lin2mu -- linear to mu-law encoding |
|
394 loadaudio -- load an audio file to a vector |
|
395 mu2lin -- mu-law to linear encoding |
|
396 playaudio -- play an audio file |
|
397 record -- record sound and store in vector |
|
398 saveaudio -- save a vector as an audio file |
|
399 setaudio -- executes mixer shell command |
2452
|
400 |
|
401 * New plotting functions from Vinayak Dutt. Ones dealing with |
|
402 multiple plots on one page require features from gnuplot 3.6beta |
|
403 (or later). |
|
404 |
|
405 bottom_title -- put title at the bottom of the plot |
|
406 mplot -- multiplot version of plot |
|
407 multiplot -- switch multiple-plot mode on or off |
|
408 oneplot -- return to one plot per page |
|
409 plot_border -- put a border around plots |
|
410 subplot -- position multiple plots on a single page |
|
411 subwindow -- set subwindow position for next plot |
|
412 top_title -- put title at the top of the plot |
|
413 zlabel -- put a label on the z-axis |
|
414 |
|
415 * New string functions |
|
416 |
|
417 bin2dec -- convert a string of ones and zeros to an integer |
|
418 blanks -- create a string of blanks |
|
419 deblank -- delete trailing blanks |
|
420 dec2bin -- convert an integer to a string of ones and zeros |
|
421 dec2hex -- convert an integer to a hexadecimal string |
|
422 findstr -- locate occurrences of one string in another |
|
423 hex2dec -- convert a hexadecimal string to an integer |
|
424 index -- return position of first occurrence a string in another |
|
425 rindex -- return position of last occurrence a string in another |
|
426 split -- divide one string into pieces separated by another |
|
427 str2mat -- create a string matrix from a list of strings |
|
428 strrep -- replace substrings in a string |
|
429 substr -- extract a substring |
|
430 |
|
431 The following functions return a matrix of ones and zeros. |
|
432 Elements that are nonzero indicate that the condition was true for |
|
433 the corresponding character in the string array. |
|
434 |
|
435 isalnum -- letter or a digit |
|
436 isalpha -- letter |
|
437 isascii -- ascii |
|
438 iscntrl -- control character |
|
439 isdigit -- digit |
|
440 isgraph -- printable (but not space character) |
|
441 islower -- lower case |
|
442 isprint -- printable (including space character) |
|
443 ispunct -- punctuation |
|
444 isspace -- whitespace |
|
445 isupper -- upper case |
|
446 isxdigit -- hexadecimal digit |
|
447 |
|
448 These functions return new strings. |
|
449 |
2458
|
450 tolower -- convert to lower case |
|
451 toupper -- convert to upper case |
2452
|
452 |
|
453 * New function, fgetl. Both fgetl and fgets accept an optional |
|
454 second argument that specifies a maximum number of characters to |
|
455 read, and the function fgets is now compatible with Matlab. |
|
456 |
|
457 * Printing in hexadecimal format now works (format hex). It is also |
|
458 possible to print the internal bit representation of a value |
|
459 (format bit). Note that these formats are only implemented for |
|
460 numeric values. |
|
461 |
|
462 * Additional structure features: |
|
463 |
|
464 -- Name completion now works for structures. |
|
465 |
|
466 -- Values and names of structure elements are now printed by |
|
467 default. The new built-in variable `struct_levels_to_print' |
|
468 controls the depth of nested structures to print. The default |
|
469 value is 2. |
|
470 |
|
471 -- New functions: |
|
472 |
|
473 struct_contains (S, NAME) -- returns 1 if S is a structure with |
|
474 element NAME; otherwise returns 0. |
|
475 |
|
476 struct_elements (S) -- returns the names of all elements |
|
477 of structure S in an array of strings. |
|
478 |
|
479 * New io/subprocess functions: |
|
480 |
2458
|
481 fputs -- write a string to a file with no formatting |
|
482 popen2 -- start a subprocess with 2-way communication |
|
483 mkfifo -- create a FIFO special file |
|
484 popen -- open a pipe to a subprocess |
|
485 pclose -- close a pipe from a subprocess |
|
486 waitpid -- check the status of or wait for subprocesses |
2452
|
487 |
|
488 * New time functions: |
|
489 |
2458
|
490 asctime -- format time structure according to local format |
|
491 ctime -- equivalent to `asctime (localtime (TMSTRUCT))' |
|
492 gmtime -- return time structure corresponding to UTC |
|
493 localtime -- return time structure corresponding to local time zone |
|
494 strftime -- print given time structure using specified format |
|
495 time -- return current time |
2452
|
496 |
|
497 The `clock' and `date' functions are now implemented in M-files |
|
498 using these basic functions. |
|
499 |
|
500 * Access to additional Unix system calls: |
|
501 |
|
502 dup2 -- duplicate a file descriptor |
|
503 exec -- replace current process with a new process |
|
504 fcntl -- control open file descriptors |
|
505 fork -- create a copy of the current process |
|
506 getpgrp -- return the process group id of the current process |
|
507 getpid -- return the process id of the current process |
|
508 getppid -- return the process id of the parent process |
2475
|
509 getuid -- return the real user id of the current process |
|
510 getgid -- return the real group id of the current process |
|
511 geteuid -- return the effective user id of the current process |
|
512 getegid -- return the effective group id of the current process |
2452
|
513 pipe -- create an interprocess channel |
|
514 |
|
515 * Other new functions: |
|
516 |
2554
|
517 commutation_matrix -- compute special matrix form |
|
518 duplication_matrix -- compute special matrix form |
|
519 common_size.m -- bring arguments to a common size |
|
520 completion_matches -- perform command completion on string |
2458
|
521 tilde_expand -- perform tilde expansion on string |
2554
|
522 |
|
523 meshgrid -- compatible with Matlab's meshgrid function |
|
524 tmpnam -- replaces octave_tmp_file_name |
|
525 atexit -- register functions to be called when Octave exits |
|
526 putenv -- define an environment variable |
|
527 bincoeff -- compute binomial coefficients |
|
528 nextpow2 -- compute the next power of 2 greater than a number |
|
529 detrend -- remove a best fit polynomial from data |
|
530 erfinv -- inverse error function |
|
531 shift -- perform a circular shift on the elements of a matrix |
|
532 pow2 -- compute 2 .^ x |
|
533 log2 -- compute base 2 logarithms |
|
534 diff -- compute differences of matrix elements |
|
535 vech -- stack columns of a matrix below the diagonal |
|
536 vec -- stack columns of a matrix to form a vector |
|
537 xor -- compute exclusive or |
2452
|
538 |
2459
|
539 * Functions for getting info from the password database on Unix systems: |
|
540 |
|
541 getpwent -- read entry from password-file stream, opening if necessary |
|
542 getpwuid -- search for password entry with matching user ID |
|
543 getpwnam -- search for password entry with matching username |
|
544 setpwent -- rewind the password-file stream |
|
545 endpwent -- close the password-file stream |
|
546 |
2484
|
547 * Functions for getting info from the group database on Unix systems: |
|
548 |
|
549 getgrent -- read entry from group-file stream, opening if necessary |
|
550 getgrgid -- search for group entry with matching group ID |
|
551 getgrnam -- search for group entry with matching group name |
|
552 setgrent -- rewind the pgroup-file stream |
|
553 endgrent -- close the group-file stream |
|
554 |
2452
|
555 * The New function octave_config_info returns a structure containing |
|
556 information about how Octave was configured and compiled. |
|
557 |
|
558 * New function getrusage returns a structure containing system |
|
559 resource usage statistics. The `cputime' function is now defined |
|
560 in an M-file using getrusage. |
|
561 |
|
562 * The info reader is now a separate binary that runs as a |
|
563 subprocess. You still need the info reader distributed with |
|
564 Octave though, because there are some new command-line arguments |
|
565 that are not yet available in the public release of Info. |
|
566 |
|
567 * There is a new built-in variable, INFO_PROGRAM, which is used as |
|
568 the name of the info program to run. Its initial value is |
|
569 $OCTAVE_HOME/lib/octave/VERSION/exec/ARCH/info, but that value can |
|
570 be overridden by the environment variable OCTAVE_INFO_PROGRAM, or |
|
571 the command line argument --info-program NAME, or by setting the |
|
572 value of INFO_PROGRAM in a startup script. |
|
573 |
|
574 * There is a new built-in variable, EXEC_PATH, which is used as |
|
575 the list of directories to search when executing subprograms. Its |
|
576 initial value is taken from the environment variable |
|
577 OCTAVE_EXEC_PATH (if it exists) or PATH, but that value can be |
|
578 overridden by the the command line argument --exec-path PATH, or |
|
579 by setting the value of EXEC_PATH in a startup script. If the |
|
580 EXEC_PATH begins (ends) with a colon, the directories |
|
581 $OCTAVE_HOME/lib/octave/VERSION/exec/ARCH and $OCTAVE_HOME/bin are |
|
582 prepended (appended) to EXEC_PATH (if you don't specify a value |
|
583 for EXEC_PATH explicitly, these special directories are prepended |
|
584 to your PATH). |
|
585 |
|
586 * If it is present, Octave will now use an `ls-R' database file to |
|
587 speed up recursive path searching. Octave looks for a file called |
|
588 ls-R in the directory specified by the environment variable |
|
589 OCTAVE_DB_DIR. If that is not set but the environment variable |
|
590 OCTAVE_HOME is set, Octave looks in $OCTAVE_HOME/lib/octave. |
|
591 Otherwise, Octave looks in the directory $datadir/octave (normally |
|
592 /usr/local/lib/octave). |
|
593 |
|
594 * New examples directory. |
|
595 |
|
596 * There is a new script, mkoctfile, that can be used to create .oct |
|
597 files suitable for dynamic linking. |
|
598 |
|
599 * Many more bug fixes. |
|
600 |
|
601 * ChangeLogs are now kept in each subdirectory. |
|
602 |
|
603 See NEWS.1 for old news. |