webread( ) producing nothing but errors
Show older comments
I have some code that I have used previously to pull data from a google sheet using webread( ). However, recently, webread stopped working and began returning an error message stating
Error using webread (line 122)
Unsupported input: string
This has nothing to do with the google sheets. I get the same error when trying to run the command
webread('https://www.mathworks.com')
The error persists when I change networks, so it's not a network admin issue. It also occurs across both of my computers (different operating systems) running 2021a.
Is this a known bug? Am I missing something obvious?
10 Comments
Walter Roberson
on 8 Mar 2022
What shows up for
which -all webread
Also is there anything more to the error message?
Walter Roberson
on 8 Mar 2022
It is probably something inside toolbox/matlab/external/interfaces/webservices/restful/private/openHTTPConnection.m but I don't know what
Casey Harwood
on 8 Mar 2022
Jan
on 8 Mar 2022
"I should mention that 2021a has been giving me all sorts of weird errors on every computer I've installed it on"
Start at this important point. Do not trust an installation, which shows "weird messages". Uninstall the current Matlab version and download the installation files again.
Casey Harwood
on 8 Mar 2022
Jan
on 8 Mar 2022
This is really strange. You can be sure, that this does not happen for all installations of Matlab. Contact thesales team to discuss this. As long as the installation does not work relaibly, Matlab does not run reliably.
Casey Harwood
on 8 Mar 2022
Fine! Remember to append folder containing user-defined functions at the bottom of the path, not on top. Then such shaddowing does at least not destroy builtin functions.
You can use this tool to detect overlapping functions: FEX: UniqueFuncNames
John Mickett
on 1 Sep 2022
Thanks for this thread everyone. Same exact thing happened to me and the thread helped me find the problem.
Jan
on 2 Sep 2022
@John Mickett: Ther OP did not tell us, what the problem was. It would be very useful for other readers if you mention the cause of the problems on your computer.
Answers (0)
Categories
Find more on Install Products in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!