I need to convert all the 'single' variables in my workspace to 'double'. However, I do not want to use the function DOUBLE on every variable. I would like a small piece of code in my file, that can ensure that all the variables have been set to type 'double'.
MATLAB: How to convert all the ‘single’ type variables in the workspace to ‘double’
allconvertdoubleMATLABsingleworkspace
Related Question
- How to get information on a Simulink.Signal data store
- CUDAKernel/feval error, cannot find ‘single’ input.
- How to create a function to dump all the local variables in a function to the base workspace in MATLAB 7.8 (R2009a)
- Undefined function ‘twofunc’ for input arguments of type ‘double’
- Change workspace variable name
- Quadgk errors: Supported classes are ‘double’ and ‘single’
Best Answer