How can I open about 5 different url's on their own new-window using the system's browser in matlab?
3 次查看(过去 30 天)
显示 更早的评论
I can do it using the web(url, -new) function, but I want to do this using the system's web browser (windows explorer).
When I call the web function over and over again, it merely creates a new tab in the existing window. But I want new windows created every time I call it.
How can I do this? Is there any other function (besides 'web') to do this?
Please let me know!!
Thank you.
0 个评论
回答(2 个)
Ryan Livingston
2013-1-17
web(url, '-browser')
opens the page in the system browser. You can also run arbitrary DOS commands using the DOS function:
dos('explorer http://www.google.com/')
dos(['explorer ' url])
Check here:
for more info.
0 个评论
Jan
2013-1-17
It will depend on the browser. E.g.:
system('firefox.exe -new-window www.mozilla.com')
system('firefox.exe -new-window www.google.com')
system('firefox.exe -new-window www.mathworks.com')
I'm not sure, if the Internet Explorer's "-noframemerging" does what you want.
0 个评论
另请参阅
类别
在 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!