I am trying to display the value of a in a text box.
a=trapz(cP6-cP7); str='Area Swept: %d'; annotation('textbox',[0.3 0.5 0.3 0.3],'String',str,'FitBoxToText','on');
text boxvalue
a=trapz(cP6-cP7); str='Area Swept: %d'; annotation('textbox',[0.3 0.5 0.3 0.3],'String',str,'FitBoxToText','on');
Best Answer