Take the stored value

Get the default value if the key no exist in the store.
Updated 10 Feb 2015

View License

value = takevalue(store, name, default) returns the stored value for the given key. If a key is not found in the store, its value is replaced with 'default' value.

Cite As

Eduardo Márquez (2024). Take the stored value (https://www.mathworks.com/matlabcentral/fileexchange/49610-take-the-stored-value), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Specifying Target for Graphics Output 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

Change the image.