From f4cdfd72372c6c7195c88510d91904e12d372303 Mon Sep 17 00:00:00 2001 From: "Faiza Bibi (bibif5)" Date: Sun, 2 Aug 2020 17:11:39 +0100 Subject: [PATCH] UserInterface.m This code takes inputs from user --- code.m | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 code.m diff --git a/code.m b/code.m new file mode 100644 index 0000000..254935d --- /dev/null +++ b/code.m @@ -0,0 +1,6 @@ +disp('Please select which climate model you would like to view: '); +type=input('1- chimere_ozone \n2- emep_ozone \n3- ensemble_ozone \n4- eurad_ozone \n5- lotoseuros_ozone \n6- match_ozone \n7- mocage_ozone \n8- silam_ozone \n'); + +disp('Please select your desired format: ') +userInput = ('a - Standard Display (Trichromacy)\nb - Monochromacy Display \nc - Protanopia Display \n'); +option = input(userInput,'s');