comparison nonExposed/checkClassPresence.m @ 34:39399de892ef

better handling of displays with pleasantness colors
author Mathieu Lagrange <mathieu.lagrange@cnrs.fr>
date Fri, 09 Jun 2017 16:37:50 +0200
parents b1901e8d8f5f
children
comparison
equal deleted inserted replaced
33:d0ceb549f734 34:39399de892ef
4 classIndex(unique([sceneSchedule.classId]))=0; 4 classIndex(unique([sceneSchedule.classId]))=0;
5 5
6 if(find(classIndex==1)) 6 if(find(classIndex==1))
7 classLabel= {sceneObjects.classLabel}; 7 classLabel= {sceneObjects.classLabel};
8 disp({classLabel{logical(classIndex)}}) 8 disp({classLabel{logical(classIndex)}})
9 error('At least one class has been removed during the simulation process') 9 fprintf(2, 'At least one class has been removed during the simulation process\n')
10 end 10 end
11 11
12 12