plotly / plotly_matlab

Plotly Graphing Library for MATLAB®
https://plot.ly/matlab/
MIT License
376 stars 165 forks source link

Unrecognized function or variable 'toC' #513

Open AdamAtTrimble opened 4 weeks ago

AdamAtTrimble commented 4 weeks ago

I am trying to get plotly offline working with matlab 2024a and I keep encountering the error

Unrecognized function or variable 'toC'.

Error in extractAxisData (line 90)
    tickLabels = toC(axisData.(axisName + "TickLabel"));

Error in updateAxis (line 76)
        [xaxis, xExponentFormat] = extractAxisData(obj,axisData, 'X');

Error in plotlyfig/update (line 779)
                    updateAxis(obj,n);

Error in plotlyfig (line 292)
                obj.update;

Error in fig2plotly (line 42)
    p = plotlyfig(varargin{:});
AdamAtTrimble commented 4 weeks ago

If I switch to tag 2.5.5 the issue goes away. The code is also quite different in extractAxisData between the two versions