- MATLAB Version and Toolboxes: Ensure that you have the correct version of MATLAB and the required toolboxes installed. The “siteviewer” function is the part of the Antenna Toolbox.
- Check OSM file: Verify that the OSM file you're trying to load ("map.osm") is valid and accessible. Ensure that the file path is correct and that the file is not corrupted.
Problem with siteviewer (Open Street Maps): name controller, connector service provider, get resource URL.
6 views (last 30 days)
Show older comments
Hi, I want to use this code in a Livescript in Matlab
clear all
close all
clc
tic
viewer=siteviewer("Buildings","map.osm","Basemap","streets");
toc
But at the end it results in this error:
Error using siteviewer
Unable to resolve the name controller.ConnectorServiceProvider.getResourceURL.
What can I do?
0 Comments
Answers (1)
Aditya
on 21 Nov 2023
Hi Fernando,
I understand that you are encountering some error with the “siteviewer” function in MATLAB. Although I've attempted to reproduce the error on my end using the same function, it didn't result in any issues.
Here are several steps you can take to troubleshoot and resolve this issue:
To further check the problem, please execute the commands below. If these execute successfully, it is likely that the issue is specific to the OSM file you are currently using:
>> viewer = siteviewer("Basemap","streets");
>> viewer = siteviewer("Basemap","streets","Buildings","manhattan.osm");
For additional information and examples on using the “siteviewer” function, please refer to the MATLAB documentation at the following link:
Hope this helps!
0 Comments
See Also
Categories
Find more on Propagation and Channel Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!