@@ -45,21 +45,22 @@ function deploy(varargin)
45
45
end
46
46
47
47
48
+ %%
48
49
% 删除.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
63
64
64
65
65
66
% D:\work\matlab\toolbox\shared\drivingscenario\+driving\+internal\+scenarioApp
0 commit comments