Control WebBrowser Using MATLAB

23 次查看(过去 30 天)
Hi I have created a C# Code using Selenium, I want the code to be called using MATLAB code that uses functionalities such as Image Processing ToolBox etc. Is that possible? I have tried to search online but haven't be able to come up with a solution? Secondly, is it possible to control a Browser (Chrome ,IE, Firefox etc) to be directly controlled using MATLAB command.

回答(1 个)

Vishal Neelagiri
Vishal Neelagiri 2016-12-6
You might need to expose the C# code as a .NET library. Check the following links:
https://www.mathworks.com/help/matlab/matlab_external/calling-net-methods.html#bt00pa8-4
In order to control/open a web browser from MATLAB, you can use the 'web' command. Refer to the following documentation:
https://www.mathworks.com/help/matlab/ref/web.html

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by