function plda = helperTrainPLDA(xvecs,YTrain,numIterations,numDimensions) %#ok<INUSD>
% This function is only for use in this example. It may be changed or
% removed in a future release. 
[~,plda] = evalc("audio.internal.ivector.trainPLDA(xvecs,YTrain(:),'NumIterations',numIterations,'NumDimensions',numDimensions)");
end