% ENTER BASE CASE DATA FILENAME % FILENAME: BASECASE.M % DATE: November 1994 % VERSION: 02 % COPYRIGHT 1993, 1994 M.Gretzinger & T.Marlin % McMaster University % This m-file is called by CSTR.M. It prompts the user to input the name % of the file containing the base case data for the CSTR. case = input('Enter the name of the base case data file (omit extension): ','s'); if exist(case) == 2 eval(case) baseloaded = 1; else disp('') disp('Not a valid base case data filename, press ENTER to continue') pause; end