Signal labeller doe not import table type data

4 vues (au cours des 30 derniers jours)
SM
SM le 12 Juin 2021
Réponse apportée : SM le 14 Juin 2021
Hi
I have a data with class of "labeledSignalSet" named "lss", that the "label" field of it already includes two table data and I can import to signallabeler and plot them with no problem. However, when I import two more table data with " 'LabelDataType','table' " it regenerates the new variable and add the new table data into the "lss" under "Label" filed, but the signal labeler does not import it and shows the following error:
Unable to import. Label definitions with timetable or table label data types are not supported.
But I had been using table data before updating the variable with not problem.
Do anyone have an idea why MATLAB is showing this error?
Thanks
  2 commentaires
Sulaymon Eshkabilov
Sulaymon Eshkabilov le 12 Juin 2021
Can you post your sample data?
SM
SM le 14 Juin 2021
Thank you for your response.
I have attached two mat files.
"lss" is the file that can be imported to signal labeler, and the "lss_updated" is the "lss" file that I added few tables to it and signal labeler does not import it.
Thanks

Connectez-vous pour commenter.

Réponse acceptée

SM
SM le 14 Juin 2021
I managed to solve the problem.
Apparently when the data type is roi and the written file is in table format, it becomes read-only, hence you should generate a new labeledSignalSet class and assign the old and new files to the label filed of it.
I found the labeledSignalSet example pretty useful for my case.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by