In your program you'll have to create a table of the names/categories and the breakpoints that is associated with them and then use a lookup to assign the name based on the value. You've not specified the actual logic of the association, is it <=Breakpoint, maybe?
If so, one way would be something like
tNames={'Cold,'Warm',Hot'};
tBreaks=[40, 60, 80];
...
% compute/read temperatures here...
...
conditions=interp1(tBreaks,tNames,temps,'next');
The above will need bounding elements to cover the range of possible inputs but gives general idea.