I am saving a sizeable number of variables from my workspace into a MAT-file. However, some of these variables may not exist at times. In that case, SAVE command returns an error. I want to know if I can pass an option into SAVE such that it simply skips a variable from its list if the variable doesn't exist in the workspace.
MATLAB: How to have an option for SAVE to skip saving a variable if it doesn’t exist in the workspace
existMATLABsaveskipvariable
Related Question
- How to save a list of variables as an argument of SAVE function in MATLAB
- How to save variable value neatly
- When i am saving workspce of function , it’s not containing all variables.
- Saving workin space variable
- Want to load mat files one by one from specified folder.. But not able to do that…
- Is there a load if statement or similar in matlab, way to save workspace variable’s seperate mat files
Best Answer