webread error with input ??
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
I am using webread for the first time in R2017b. Very unusual behavior :
>> webread('https://www.mathworks.com/matlabcentral')
Error using webread (line 119)
First input must be a string array or cell array of character vectors.
But urlread works fine
>> urlread('https://www.mathworks.com/matlabcentral')
ans =
'<!DOCTYPE HTML>
<html>
<head>
Any clue ? Tried restarting Matlab, no help.
댓글 수: 9
Nirav Sharda
2018년 6월 18일
편집: Nirav Sharda
2018년 6월 18일
Line 119 of the 'webread' function as mentioned in the error calls the 'encodeInputs' function which in-turn calls another internal function. Can you add break-points in the code and identify the line causing the issue?
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!