No BSD License  

Highlights from
compute_if_doesnt_exist

Be the first to rate this file! 1 Download (last 30 days) File Size: 1.43 KB File ID: #19814

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.
Please login to add a comment or rating.
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.

Tag Activity for this File
Tag Applied By Date/Time
wrapper save state Joao Carreira 22 Oct 2008 10:00:06
wrapper save state mini 24 Oct 2008 09:46:30

Contact us at files@mathworks.com