Mercurial > hg > simscene-py
view 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 |
line wrap: on
line source
function [] = checkClassPresence( sceneSchedule,sceneObjects ) classIndex=ones(1,length(sceneObjects)); classIndex(unique([sceneSchedule.classId]))=0; if(find(classIndex==1)) classLabel= {sceneObjects.classLabel}; disp({classLabel{logical(classIndex)}}) fprintf(2, 'At least one class has been removed during the simulation process\n') end