Dears,
I am getting errors while simulating launcherOpenStreetMap. I have only changed the latitude and longitude parameters in the OpenStreetMap scenario configurations as per the lines below;
%% Blockages
% The following parameters describe the specification of an OpenStreetMap
% city. The desired real-world area is specified via latitudes and
% longitudes, which can easily be obtained from openstreetmapdotcom via the
% “Export” feature.
openStreetMapCity = parameters.city.OpenStreetMap;
openStreetMapCity.latitude = [39.2650, 39.2850];
openStreetMapCity.longitude = [-6.8259, -6.8146];
openStreetMapCity.streetWidth = 5;
The following are the error messages;
Dot indexing is not supported for variables of this type.
Error in blockages.OpenStreetMapCity (line 57)
obj = obj.saveOsmBuildingList2Obj(osmDataList([osmDataList.isBuilding]));
Error in blockages.OpenStreetMapCity.getCity (line 82)
city = blockages.OpenStreetMapCity(cityParameter, params.regionOfInterest.interferenceRegion);
Error in simulation.SimulationSetup/createCitiesAndBuildings (line 262)
newCity = cityParameter.createCityFunction(cityParameter, obj.params);
Error in simulation.SimulationSetup/prepareSimulation (line 126)
obj.createCitiesAndBuildings();
Error in simulation.LocalSimulation/setup (line 51)
obj.simulationSetup.prepareSimulation();
Error in simulate (line 64)
localSimulation.setup();
Error in launcherFiles.launcherOpenStreetMap (line 18)
result = simulate(@scenarios.openStreetMap, parameters.setting.SimulationType.local);