exist(obj.struct.var) always returns 0 regardless if the var exists or not.
MATLAB: How to exist(obj.struct.var)
MATLABobj struct var exist
Related Question
- Creating a hard link among properties of an object
- How to know if exist an field into a struct
- Accessing field names in struct
- Short-circuit logic and dynamic structure referencing: Why does this not work
- Is it possible to check for existence of fields in nested structures with isfield in MATLAB 8.1 (R2013a)
Best Answer