Mercurial > hg > simscene-py
view nonExposed/checkClassPresence.m @ 49:b11264117ddb
added setup.py to allow for 'python setup.py build install'
author | Emmanouil Theofanis Chourdakis <e.t.chourdakis@qmul.ac.uk> |
---|---|
date | Thu, 22 Feb 2018 16:45:11 +0000 |
parents | 39399de892ef |
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