- 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 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Aditya
2023-11-21
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Propagation and Channel Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!