clarification on dos command
Ältere Kommentare anzeigen
given the statements
if (exist([current_folder, '/', file_name], 'file') && exist([current_folder, '/', strip_comments_exe], 'file'))
cmd=['"', [current_folder, '/', strip_comments_exe], '" ', strip_comments_options, ' ', [current_folder, '/', file_name], ' ', strip_comments_output_option, ' ', num2str(i), 'a.h'];
where the variables represent the following:
- current_folder = pwd,
- strip_comments_exe = relative path to a .exe file
- strip_comments_options = '' (empty string not double quotes)
- strip_comments_output_option = '>'
- file_name= relative path to a C header file
what is the function below supposed to achieve?
dos(cmd,'-echo')
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Downloads finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!