Browse, search, click , save?
1 次查看(过去 30 天)
显示 更早的评论
Hello
Is there something similar to VBA: Dim myBrowser As Internet Explorer
...
myBrowser.Document.getElementById("name1_source").Click
Which allows me enter data and click
The name1_source is from the browser's source (Chrome, IE, etc). I can open a browser, but cannot enter text and cannot click
0 个评论
回答(2 个)
Image Analyst
2019-1-21
Not sure what you're looking for but there are lots of user input functions, like input(), inputdlg(), menu(), listdlg(), etc. Unfortunately, and VERY SURPRISINGLY there is no convenient way to enter a matrix of numbers, like those. That is, for some reason, after decades of development, there is no easy to use griddlg() function where you can enter a matrix of numbers.
Again, I'm still not sure what kind of user input you're looking to collect.
Sean de Wolski
2019-1-21
Look at webread, you don't need to open the browser to get the html output from the search. If you want a human to enter the content, give them an inputdlg and just use webread under the hood.
4 个评论
Sean de Wolski
2019-1-21
Ahh, so Google is not your target?
You'll need to look under the hood and see what the input form is doing and what values are being used. View the page source, get a look at the form action, and look at the values of the field.
Sean de Wolski
2019-1-21
@IA, That's a fair enhancement request but it will carry more weight coming from directly from you!
Have you considered just using the variable editor (for non-MATLAB Compiler uses)?
x = zeros(4);
openvar('x')
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!