This is part of my code:
%Plot the curves
%Figure for Measured and Calculated Profiles
figure(1);
%clf;
subplot(2,1,1); plot(measuredProfileRawInterpSmoothPos,measuredProfileRawInterpSmoothDose,analysisProfilePos,analysisProfileDose);
axis([0 max(measuredProfileRawInterpPos) 0 max(measuredProfileRawInterpDose)*1.1])
title('Comparing Profiles')
LEGEND('-DynamicLegend','measuredProfile','analysisProfile','measuredProfile','calculatedProfile')
hold all
The problem is I need to use -DynamicLegend, Is there some symbol I could put in front of string to ignore it??