Closing the Help documentation from command line

I have two callbacks which perform the following to display some help documentation for two processes A & B
web('D:\Users\..\A\Doc\index.html')
web('D:\Users\..\B\Doc\index.html')
The "B" process has an info.xml file paired with helptoc.xml file so displays as custom documentation.
The "A" process doesn't have these and so just opens a web browser to display the help.
I want to be able to close both the above automatically as I'm just testing the callbacks work. My issue is that when I use [stat,h] = web(___), "A" returns a handle to the web browser that allows me to close it using the command close(h). However "B" just returns an empty h, so I don't know how to close it.
So, how do I close that "custom documentation" help window without having to do it manually? Thanks in advance for help with this.

回答(0 个)

产品

版本

R2016a

标签

Community Treasure Hunt

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

Start Hunting!

Translated by