[Kst] branches/work/kst/portto4/kst/src/datasources/matlab
Nicolas Brisset
nicolas.brisset at eurocopter.com
Fri Jul 6 22:25:28 UTC 2012
SVN commit 1304399 by brisset:
Comment out some debug code. I haven't had any feedback on the Matlab data source, either it's
working very well or nobody is using it?!?
M +5 -5 matlab.cpp
--- branches/work/kst/portto4/kst/src/datasources/matlab/matlab.cpp #1304398:1304399
@@ -394,7 +394,7 @@
if ( (matvar->rank == 1 && matvar->dims[0] == 1) ||
(matvar->rank == 2 && matvar->dims[0] == 1 && matvar->dims[1] == 1) ) {
_scalarList << QString(matvar->name);
- qDebug() << "Found a scalar: " << matvar->name;
+ // qDebug() << "Found a scalar: " << matvar->name;
}
// Vector
if ( (matvar->rank == 1 && matvar->dims[0] > 1) ||
@@ -404,12 +404,12 @@
int fc = (matvar->rank == 1) ? matvar->dims[0] : qMax(matvar->dims[0], matvar->dims[1]);
_maxFrameCount = qMax(_maxFrameCount, fc);
_frameCounts[matvar->name] = fc;
- qDebug() << "Found a vector: " << matvar->name << ", size: [" << matvar->dims[0] << "x" << matvar->dims[1] << "]";
+ // qDebug() << "Found a vector: " << matvar->name << ", size: [" << matvar->dims[0] << "x" << matvar->dims[1] << "]";
}
// Dimension 2 matrix
if ( matvar->rank == 2 && matvar->dims[0] > 1 && matvar->dims[1] > 1 ) {
_matrixList << QString(matvar->name);
- qDebug() << "Found a matrix: " << matvar->name << ", size: [" << matvar->dims[0] << "x" << matvar->dims[1] << "]";
+ // qDebug() << "Found a matrix: " << matvar->name << ", size: [" << matvar->dims[0] << "x" << matvar->dims[1] << "]";
}
break;
@@ -417,12 +417,12 @@
matvar_t *string = Mat_VarRead(_matfile, matvar->name);
_strings[QString(matvar->name)] = QString((char*)string->data);
Mat_VarFree(string);
- qDebug() << "Found a string: " << matvar->name << ", size: [" << matvar->dims[0] << "x" << matvar->dims[1] << "]";
+ // qDebug() << "Found a string: " << matvar->name << ", size: [" << matvar->dims[0] << "x" << matvar->dims[1] << "]";
break;
}
default:
- qDebug() << "Variable " << matvar->name << ", type not supported (" << matvar->class_type << ")";
+ // qDebug() << "Variable " << matvar->name << ", type not supported (" << matvar->class_type << ")";
break;
}
More information about the Kst
mailing list