compute_if_doesnt_exist
by Joao Carreira
05 May 2008
(Updated 12 May 2008)
Computes your function if its output doesn't exist already in file
|
Watch this File
|
| File Information |
| Description |
Inputs a function, its input, and a file where to save the input. It checks if this file exists before deciding about computing the function again.
Can force to compute with the last argument.
It's useful if you have long computations that you'd prefer not to repeat everytime. |
| MATLAB release |
MATLAB 7.6 (R2008a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 07 May 2008 |
Improved the code to allow to have multiple inputs, which are passed in a cell array. Still, must have only one output. |
| 12 May 2008 |
improved input handling. I tried updating before, but nothing happened, so I'm repeating it. |
|
Contact us at files@mathworks.com