Effacer les filtres
Effacer les filtres

사이트 뷰어에 지도가 뜨지 않음

5 vues (au cours des 30 derniers jours)
정현
정현 le 16 Nov 2023
Commenté : Angelo Yeo le 21 Nov 2023
다른 컴퓨터에서는 안테나와 함께 해당 지역 지도가 잘 떴었으나
해당 컴퓨터에는 지도가 안보이고 검정 화면만 뜹니다.
코드 문제였다면 다른 컴퓨터에서도 안보였을텐는데 제 컴퓨터에서만 안보입니다.
현재 Antenna Toolbox를 깔았는데 다른 toolbox를 깔아야 해결이 될까요? 뭐가 문제일까요?
%wireless
clc;
clf;
clear;
close all;
format short e;
c = 3e8;
f = 1e9;
lambda = c/f;
l = lambda/5;
w = l/20;
D = dipole('Length', l, 'Width', w);
r = lambda/20;
t = w;
lc = loopCircular('Radius', r, 'Thickness', t);
lc.TiltAxis = [0 1 0];
lc.Tilt = 90;
spacing = lambda/100;
gamma_Huygens = -90;
Huygens = conformalArray;
Huygens.ElementPosition = [0, 0, 0; 0, 0, 0];
Huygens.Element = {D, lc};
Huygens.ElementPosition = [0, -r+t/2, 0; spacing, 0, 0];
Huygens.PhaseShift = [0, gamma_Huygens];
Huygens.AmplitudeTaper = [1, 1];
d = lambda/4;
HuygensArray = conformalArray;
HuygensArray.ElementPosition = [0, -r+t/2, 0; spacing, 0, 0; ...
d, -r+t/2, 0; spacing+d, 0, 0; ...
2*d, -r+t/2, 0; spacing+2*d, 0, 0; ...
3*d, -r+t/2, 0; spacing+3*d, 0, 0; ...
4*d, -r+t/2, 0; spacing+4*d, 0, 0; ...
5*d, -r+t/2, 0; spacing+5*d, 0, 0; ...
6*d, -r+t/2, 0; spacing+6*d, 0, 0; ...
7*d, -r+t/2, 0; spacing+7*d, 0, 0];
HuygensArray.Element ={D, lc, D, lc, D, lc, D, lc, D, lc, D, lc, D, lc, D, lc};
gamma_Huygens = 0;
gamma_Array = 30;
ps = [0, gamma_Huygens, ...
0 + gamma_Array, gamma_Huygens+gamma_Array, ...
0 + 2*gamma_Array, gamma_Huygens+2*gamma_Array, ...
0 + 3*gamma_Array, gamma_Huygens+3*gamma_Array, ...
0 + 4*gamma_Array, gamma_Huygens+4*gamma_Array, ...
0 + 5*gamma_Array, gamma_Huygens+5*gamma_Array, ...
0 + 6*gamma_Array, gamma_Huygens+6*gamma_Array, ...
0 + 7*gamma_Array, gamma_Huygens+7*gamma_Array]; %phase shift
HuygensArray.PhaseShift = ps;
Lat_Tx=37.552507;
Long_Tx=126.924912;
tx=txsite('Name','HongikUniv', 'Latitude', Lat_Tx, 'Longitude', Long_Tx, ...
'Antenna', HuygensArray, 'TransmitterFrequency', f, 'AntennaHeight', 5, ...
'TransmitterPower', 3); %play with options
rxSensitivity=-60;
coverage(tx, 'SignalStrengths', rxSensitivity);
pattern(tx)
Lat_Tx=37.531999;
Long_Tx=126.914142;
rx=rxsite('Name','NationalAssembly', 'Latitude', Lat_Tx, 'Longitude', Long_Tx, ...
'Antenna', design(dipole,f), 'ReceiverSensitivity', rxSensitivity);
show(rx)
link(rx,tx,'longley-rice')
  1 commentaire
Dyuman Joshi
Dyuman Joshi le 16 Nov 2023
This seems to be related to the geoglobe bug encountered recently - https://in.mathworks.com/matlabcentral/answers/2047172-geoglobe-is-not-showing
Nonetheless, I would suggest you to contact TMW Technical support about this - Contact Support

Connectez-vous pour commenter.

Réponse acceptée

Song-Hyun Ji
Song-Hyun Ji le 20 Nov 2023
현재 대안책으로 Terrain 옵션을 "none"으로 놓고 사용하여 주시기 바랍니다.
예시)
viewer = siteviewer("Terrain","none");
tx = txsite("Latitude",42.3001,"Longitude",-71.3504);
show(tx)

Plus de réponses (1)

Angelo Yeo
Angelo Yeo le 20 Nov 2023
안녕하세요.
해당 이슈는 현재 Mathworks Mapping Toolbox 팀에서 조사중이며 Terrain 서버와 관련된 이슈입니다. 최대한 빨리 해결할 수 있도록 노력하겠습니다.
감사합니다.
  1 commentaire
Angelo Yeo
Angelo Yeo le 21 Nov 2023
개발팀에 따르면 현재는 이슈가 고쳐진 것으로 확인됩니다. 아래의 스크립트가 MATLAB에서 정상 동작하는지 직접 확인하실 수 있습니다.
uif = uifigure;
g = geoglobe(uif);

Connectez-vous pour commenter.

Catégories

En savoir plus sur 제품 관리 dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!