update gencode based on 68aa2ed, linked detect disable in bat

This commit is contained in:
Matthew GONG
2021-04-24 08:31:07 +08:00
parent 57abf00a34
commit 03809f0259
85 changed files with 13274 additions and 13281 deletions
+8
View File
@@ -85,6 +85,12 @@ void Task::setup_param(const QVector<QString> &head, const QVector<double> &onec
c[target_idx] = target_value;
}
break;
case SS_BOOLEAN:
{
boolean_T *c = (boolean_T *)da[idx];
c[target_idx] = target_value > 0.5 ?true: false;
}
break;
case SS_UINT16:
{
uint16_T *h = (uint16_T *)da[idx];
@@ -142,6 +148,8 @@ void Task::run()
if (data.open(QFile::ReadOnly)) {
QVector<QString> head;
QVector<double> onecase;
head.push_back("linked_default");
onecase.push_back(1);
QTextStream stream(&data);
QString line;
while (stream.readLineInto(&line)) {