update gencode based on 68aa2ed, linked detect disable in bat
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user