MATLAB: Clearing a structure variable clearstructures Hello If I have the following structure: a.h1 = 800; a.caseid = 'HM'; How do I clear a.h1? Thanks Best Answer a.h1 = 800; a.caseid = 'HM';clear a.h1a.h1 = []remove field 'h1'rmfield(a,'h1') Related SolutionsMATLAB: Clearing data I "think" you could replace the line:data4(:,:,i)=cell2mat(temp)withdata4(:,:,(1:length(temp))=cell2mat(temp)but its not very clear what your trying to do... MATLAB: How to draw a sketch in gui and save that sketch as an image AFAIK: there is no such tool in Matlab. However, you might find Freehand Contour Drawing useful Related QuestionHow delete empty fields in a structWhat does it mean when there is a dot between two variables in the following formError while clearing axes…
Best Answer