- 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!