from
Ideal Rankine Cycle Using Builder for Java
by David Forstot
Calculate Thermodynamic Properties of Ideal Rankine Cycle - Integrating MATLAB with Java
|
| cleanUpRankineJavaDemo
|
function cleanUpRankineJavaDemo
% Cleans all output files from compileRankineJavaDemo.m and reduces the
% demo back to the original .m and java files.
% Authored By: Elwin Chan
% Modified By: David Forstot
% Copyright 2006 The MathWorks, Inc.
params = getPortOptJavaDemoSettings;
%delete the output directory for the mcc command
if(exist(params.MLOutputRoot, 'dir') == 7)
rmdir(params.MLOutputRoot, 's');
end
%delete the output directory for the javac command
if(exist(params.compiledJavaPath, 'dir') ==7)
rmdir(params.compiledJavaPath, 's');
end
%delete the output directory for the jar
if(exist(params.FinalOutputRoot, 'dir') ==7)
rmdir(params.FinalOutputRoot, 's');
end
|
|
Contact us