%% Import OpenDRIVE Road Network into Driving Scenario
% Create an empty driving scenario.

scenario = drivingScenario;

%
% Import an OpenDRIVE road network into the scenario.

filePath = 'intersection.xodr';  
roadNetwork(scenario,'OpenDRIVE',filePath);

% Plot the scenario and zoom in on the road network by setting the axes limits.

plot(scenario)
xlim([350 800])
ylim([1400 2000])
zlim([0.00 10.00])

% Copyright 2018 The MathWorks, Inc.