how to save siteviewer image from coverage function
Show older comments
Antenna toolbox coverage function plots propagation terrain image. How to set image size and save image in script,? If manually adjusted the size of the image, how to save the image?
5 Comments
cheat morokot
on 10 May 2019
Actually coverage function has save image in Temporary Location. To get that image, command to select current viewer. In viewer.TempFiles, you will see location that it saves coverage image.

Abhi Sundararaman
on 13 May 2019
When you say "save siteviewer image", does that mean you want to save a screenshot of siteviewer?
Also, what do you mean by "set image size" and "manually adjusted size of image"? Are you referring adjusting the size of the Site Viewer window, or some other image?
Jonathon Cheah
on 14 May 2019
cheat morokot
on 14 May 2019
Edited: cheat morokot
on 14 May 2019
This is image that I get from coverage of siteviewer. Follow my comment above, you will get what you want. 

cheat morokot
on 14 May 2019
Edited: cheat morokot
on 14 May 2019
You can view this video to get image from coverage function. (https://www.youtube.com/watch?v=P9Lstv0NFEI)
Accepted Answer
More Answers (1)
John K.
on 19 Jan 2021
0 votes
Another way to capture screenshots of siteviewer directly from within Matlab is to use the screenshot diagnotic class.
png files are stored to a temporary directory and a prefix can be defined.
Create a TestCase for interactive use.
import matlab.unittest.TestCase
testCase = TestCase.forInteractiveUse;
Use a ScreenshotDiagnostic to log an image of the desktop as a test diagnostic with a custom prefix
import matlab.unittest.diagnostics.ScreenshotDiagnostic
testCase.log(ScreenshotDiagnostic('Prefix','LoggedScreenshot_'))
Categories
Find more on Propagation and Channel Models in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!