|
From: | Ben Abbott |
Subject: | Re: pathdef, savepath, ocaverc and Matlab |
Date: | Fri, 4 Jan 2008 12:19:12 +0800 |
On Jan 4, 2008, at 11:31 AM, John W. Eaton wrote: On 4-Jan-2008, Ben Abbott wrote: Regarding .oct or .mex files, such it is not supported by Matlab. ---------------- When MATLAB quits, it runs a script called finish.m, if the script exists and is on the MATLAB search path or in the current directory. This is a file you create yourself that instructs MATLAB to perform any final tasks just prior to terminating. For example, you might want to save the data in your workspace to a MAT-file before MATLAB exits. ---------------- The only problem with compatibility would be if a finish.m file follows a finish.oct/mex file in the path. To avoid the conflict, we can use "which('finish.m')" to limit ourselves to an m-file. Ben |
[Prev in Thread] | Current Thread | [Next in Thread] |