input_test.m 110 B

123
  1. keys = ['C', 'D', 'E', 'F', 'G', 'A', 'B'];
  2. selection = input("Enter key: ", 's');
  3. key = find(keys==selection)