webread( ) producing nothing but errors
显示 更早的评论
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 个评论
Walter Roberson
2022-3-8
What shows up for
which -all webread
Also is there anything more to the error message?
Walter Roberson
2022-3-8
It is probably something inside toolbox/matlab/external/interfaces/webservices/restful/private/openHTTPConnection.m but I don't know what
Casey Harwood
2022-3-8
Jan
2022-3-8
"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
2022-3-8
Jan
2022-3-8
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
2022-3-8
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
2022-9-1
Thanks for this thread everyone. Same exact thing happened to me and the thread helped me find the problem.
Jan
2022-9-2
@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.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Install Products 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!