Using plotly in MATLAB - ERROR: Could not POST to URL


Hello - I just started using plotly, initialized it in MATLAB however I get the following error when I try to convert the figures into plotly - fig2plotly( ). Thanks for all your help in advance!!

Error using urlreadwrite (line 59)
Could not POST to URL.

Error in urlread (line 36)
[s,status] = urlreadwrite(mfilename,catchErrors,url,varargin{:});

Error in makecall (line 27)
resp = urlread(url, ‘Post’, payload);

Error in plotly (line 28)
response = makecall(args, origin, structargs);

Error in plotlyfig/plotly (line 432)
response = plotly(, args);

Error in fig2plotly (line 49)

Error in ParetoGraph (line 95)


I have the same problem! Have you fixed it?


I simply shrank my data set and I managed to get rid of this error. I don’t know if this is the only way though. I was trying to create a 3d-surface plot, and generating huge matrices when trying to map X-Y vectors into matrices. Basically, I started generating smaller matrices, and contine like that.


I have the same problem and it doesn’t matter how small my data set is. Can anyone help please??