Error using siteviewer with Application Compiler
When attempting to use siteviewer, in a standalone application created with the Application Compiler, the following error occurs:
"
Error using siteviewer
Expected Basemap to match one of these values:
‘darkwater’, ‘grayland’, ‘bluegreen’, ‘grayterrain’, ‘colorterrain’, ‘landcover’, ‘streets’, ‘streets-light’, ‘streets-dark’, ‘satellite’, ‘topographic’, ‘none’
The input, ‘usgsimagery’, did not match any of the valid values.
Error in siteViewTestwcomp (line 44)
MATLAB:graphics:maps:unrecognizedStringChoice
"
*****
Please note, the code executes as expected when run from the Matlab command prompt.
The error only manifests itself when attempting to run the executable generated from the App. Compiler.
Minimal code to create error:
% siteviewer
rtxTerrainMap_GLB = siteviewer(‘Basemap’,’satellite’,’Terrain’,’gmted2010′,’Name’,’Globe-Terrain Map’);
%%{
% longley rice initial parameters
propModel_ITM = propagationModel(…
"longley-rice",…
"AntennaPolarization","horizontal",…
"AtmosphericRefractivity",301,…
"ClimateZone","continental-temperate",…
"GroundConductivity",0.005,…
"GroundPermittivity",15,…
"SituationVariabilityTolerance",0.5,…
"TimeVariabilityTolerance",0.5…
);
% free space
propModel_FREESPACE = propagationModel(‘freespace’);
% rain atten
propModel_RAIN = propagationModel(‘rain’,’rainrate’,0);
% ref. ellipsoid
wgs84 = wgs84Ellipsoid("m");
%}
*****
Curiously, if I simply compile only the siteviewer, the executable runs correctly, and the siteveiwer globe opens.
% siteviewer
rtxTerrainMap_GLB = siteviewer(‘Basemap’,’satellite’,’Terrain’,’gmted2010′,’Name’,’Globe-Terrain Map’);
*****
Given that in all case the specified basemap is in the list of expected values, is there something I’m missing for the deployed version, why are the additional prop model definitions causing executable issue?
thank you in advance. Please let me know if any additional information is needed.
cpWhen attempting to use siteviewer, in a standalone application created with the Application Compiler, the following error occurs:
"
Error using siteviewer
Expected Basemap to match one of these values:
‘darkwater’, ‘grayland’, ‘bluegreen’, ‘grayterrain’, ‘colorterrain’, ‘landcover’, ‘streets’, ‘streets-light’, ‘streets-dark’, ‘satellite’, ‘topographic’, ‘none’
The input, ‘usgsimagery’, did not match any of the valid values.
Error in siteViewTestwcomp (line 44)
MATLAB:graphics:maps:unrecognizedStringChoice
"
*****
Please note, the code executes as expected when run from the Matlab command prompt.
The error only manifests itself when attempting to run the executable generated from the App. Compiler.
Minimal code to create error:
% siteviewer
rtxTerrainMap_GLB = siteviewer(‘Basemap’,’satellite’,’Terrain’,’gmted2010′,’Name’,’Globe-Terrain Map’);
%%{
% longley rice initial parameters
propModel_ITM = propagationModel(…
"longley-rice",…
"AntennaPolarization","horizontal",…
"AtmosphericRefractivity",301,…
"ClimateZone","continental-temperate",…
"GroundConductivity",0.005,…
"GroundPermittivity",15,…
"SituationVariabilityTolerance",0.5,…
"TimeVariabilityTolerance",0.5…
);
% free space
propModel_FREESPACE = propagationModel(‘freespace’);
% rain atten
propModel_RAIN = propagationModel(‘rain’,’rainrate’,0);
% ref. ellipsoid
wgs84 = wgs84Ellipsoid("m");
%}
*****
Curiously, if I simply compile only the siteviewer, the executable runs correctly, and the siteveiwer globe opens.
% siteviewer
rtxTerrainMap_GLB = siteviewer(‘Basemap’,’satellite’,’Terrain’,’gmted2010′,’Name’,’Globe-Terrain Map’);
*****
Given that in all case the specified basemap is in the list of expected values, is there something I’m missing for the deployed version, why are the additional prop model definitions causing executable issue?
thank you in advance. Please let me know if any additional information is needed.
cp When attempting to use siteviewer, in a standalone application created with the Application Compiler, the following error occurs:
"
Error using siteviewer
Expected Basemap to match one of these values:
‘darkwater’, ‘grayland’, ‘bluegreen’, ‘grayterrain’, ‘colorterrain’, ‘landcover’, ‘streets’, ‘streets-light’, ‘streets-dark’, ‘satellite’, ‘topographic’, ‘none’
The input, ‘usgsimagery’, did not match any of the valid values.
Error in siteViewTestwcomp (line 44)
MATLAB:graphics:maps:unrecognizedStringChoice
"
*****
Please note, the code executes as expected when run from the Matlab command prompt.
The error only manifests itself when attempting to run the executable generated from the App. Compiler.
Minimal code to create error:
% siteviewer
rtxTerrainMap_GLB = siteviewer(‘Basemap’,’satellite’,’Terrain’,’gmted2010′,’Name’,’Globe-Terrain Map’);
%%{
% longley rice initial parameters
propModel_ITM = propagationModel(…
"longley-rice",…
"AntennaPolarization","horizontal",…
"AtmosphericRefractivity",301,…
"ClimateZone","continental-temperate",…
"GroundConductivity",0.005,…
"GroundPermittivity",15,…
"SituationVariabilityTolerance",0.5,…
"TimeVariabilityTolerance",0.5…
);
% free space
propModel_FREESPACE = propagationModel(‘freespace’);
% rain atten
propModel_RAIN = propagationModel(‘rain’,’rainrate’,0);
% ref. ellipsoid
wgs84 = wgs84Ellipsoid("m");
%}
*****
Curiously, if I simply compile only the siteviewer, the executable runs correctly, and the siteveiwer globe opens.
% siteviewer
rtxTerrainMap_GLB = siteviewer(‘Basemap’,’satellite’,’Terrain’,’gmted2010′,’Name’,’Globe-Terrain Map’);
*****
Given that in all case the specified basemap is in the list of expected values, is there something I’m missing for the deployed version, why are the additional prop model definitions causing executable issue?
thank you in advance. Please let me know if any additional information is needed.
cp siteviewer, compiler, basemap satellite MATLAB Answers — New Questions