MATLAB Error Dot indexing is not supported for variables of this type

>> fig2plotly(gcf)
Dot indexing is not supported for variables of this type.
Error in plotlyfig/strip (line 264)
    obj.data{d} = obj.stripkeys(obj.data{d}, obj.data{d}.type, 'style');
Error in plotlyfig/plotly (line 413)
    obj.strip;
Error in fig2plotly (line 49)
p.plotly;  

I get this error whenever I try to run fig2plotly. I followed all of the instructions on the website, yet I get this error. Anyone have any suggestions?? It won’t even work with the suggested peaks in the tutorial, returning this same error.