plotly / plotly_matlab

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

plotlysetup_online() command returns error #479

Open ckarag opened 1 year ago

ckarag commented 1 year ago

Running the following command: plotlysetup_online(username, API_key)

returns the following error: plotly:notFound Shoot! It looks like MATLAB is having trouble finding the current version of Plotly. Please make sure that the Plotly API folder is in the same directory as plotlysetup.m. Questions? Ask on https://community.plotly.com/c/api/matlab/

The solution is simple. Simply change line 31 of function plotlysetup_online(), from plotlysetupPath = which('plotlysetup'); to plotlysetupPath = which('plotlysetup_online'); I am reporting it as a bug for the developers in case somebody else hasn't, and I am also giving the solution for anyone who might be facing the same issue. Thank you.

tvsunny commented 6 months ago

It's great, it's the problem I want to find. I installed it for half a day, but I didn't find it all afternoon. Only your answer is the most reliable. Thank you.