I am appending new structure array element in existing .mat file (which contains structures), it saves new element accurately but previous values are replaced with empty elements. as stated below
FileName=fullfile('\\Server Location Address');
The above code save Device(5) elements accurately but it removes all Devices values before 5.
Please help how to append new value in .mat file while don't changing previous ones.