フィルターのクリア

Problem with siteviewer (Open Street Maps): name controller, connector service provider, get resource URL.

6 ビュー (過去 30 日間)
Fernando Ortiz
Fernando Ortiz 2022 年 4 月 6 日
回答済み: Aditya 2023 年 11 月 21 日
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?

回答 (1 件)

Aditya
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:
  • 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.
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!

カテゴリ

Help Center および File ExchangePropagation and Channel Models についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by