Cpp Switch Case Syntax Matlab For Simulation