compute_if_doesnt_e​xist

Computes your function if its output doesn't exist already in file
552 Downloads
Updated 12 May 2008

No License

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.

Cite As

Joao Carreira (2024). compute_if_doesnt_exist (https://www.mathworks.com/matlabcentral/fileexchange/19814-compute_if_doesnt_exist), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Software Development Tools in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

improved input handling. I tried updating before, but nothing happened, so I'm repeating it.