Skip to content

Commit c8464cf

Browse files
committed
fix
1 parent a773b4c commit c8464cf

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

deploy.m

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,22 @@ function deploy(varargin)
4545
end
4646

4747

48+
%%
4849
% 删除.p文件,使.m生效
49-
sim_3d_dir = fullfile( toolboxdir('shared'), 'sim3d', 'sim3d', '+sim3d');
50-
if exist(fullfile(sim_3d_dir, 'World.p'), 'file')
51-
delete(fullfile(sim_3d_dir, 'World.p'));
52-
addpath(fullfile(toolboxdir('shared'), 'sim3d', 'sim3d'));
53-
rehash toolboxcache
54-
end
55-
56-
drivingscenario_dir = fullfile(toolboxdir('shared'), 'drivingscenario');
57-
scenario_player_path = fullfile(drivingscenario_dir, '+driving', '+internal', '+scenarioApp', 'ScenarioPlayer.p');
58-
if exist(scenario_player_path, 'file')
59-
delete(scenario_player_path);
60-
addpath(fullfile(drivingscenario_dir));
61-
rehash toolboxcache
62-
end
50+
% sim_3d_dir = fullfile( toolboxdir('shared'), 'sim3d', 'sim3d', '+sim3d');
51+
% if exist(fullfile(sim_3d_dir, 'World.p'), 'file')
52+
% delete(fullfile(sim_3d_dir, 'World.p'));
53+
% addpath(fullfile(toolboxdir('shared'), 'sim3d', 'sim3d'));
54+
% rehash toolboxcache
55+
% end
56+
%
57+
% drivingscenario_dir = fullfile(toolboxdir('shared'), 'drivingscenario');
58+
% scenario_player_path = fullfile(drivingscenario_dir, '+driving', '+internal', '+scenarioApp', 'ScenarioPlayer.p');
59+
% if exist(scenario_player_path, 'file')
60+
% delete(scenario_player_path);
61+
% addpath(fullfile(drivingscenario_dir));
62+
% rehash toolboxcache
63+
% end
6364

6465

6566
% D:\work\matlab\toolbox\shared\drivingscenario\+driving\+internal\+scenarioApp

0 commit comments

Comments
 (0)