From: Santosh on
hi
i'm using MATLAB SIMULINk to simulate a fault detection system. so the inputs from sensors are interpreted by an FIS engine and outputs are numerical values. i need to generate a Display that will show a message for the relevant numeric value. for eg. a value of 2 from the FIS should give a display of "PUMP TRIPPED". what are the ways of attempting this?

if i need to write an M file for the same and insert it then how so i specify the inputs and outputs in the m file ?