I want to create an array of structs
I am using the following code
structElement = struct('a', '', 'b', '', 'c', []); ans = repmat(structElement, [4,1]);
The problem is that repmat converts '' to []
I want it to be ''
Is there a better way to do this?
Best Answer