The value of an uninitialized constant variable in MATLAB

If I declare a variable as “constant” in MATLAB, how can I check if it was initialized or not?

The exist () function does not seem to work (since the variable is treated as existing as soon as I declare it constant).

+4
source share
1 answer

isempty () was the function I was looking for. Teaches me to see sample code from the documentation.

+10
source

All Articles