Matlab returns a warning "Error updating Line. Value must be a vector of numeric type" when I use copyobj to copy a line object in which the XData are datetimes, not numeric. Is there a way to prepare the new axes to receive lines plotted with datetime? Is there a datetime-tolerant version of copyobj?
MATLAB: Using copyobj to copy lines plotted with datetime xdata
copyobjdatetimeMATLAB
Best Answer