error "brace indexing is not supported for variables of this type" trying to import a xlsx file of 2 columns to a signal editor

2 vues (au cours des 30 derniers jours)
i'm trying to import a signal like a time running signal builder block, but it doesn't work as i'm new to this signal editor block and i tried to understand the matlab tutorial, but i can't even import the signal as the error appears.
And the archive is a column of time from 0 to 81 seconds, and the second column of rpm that changes over time as the car goes on a track. XLSX DOCUMENT
The process is to use the rpm and link it to a lookup table, as it will have the car rpm range, and the values that will be linked with that rpm, like a heat generated from the combustion engine. As i said, i used the signal builder before and that worked as intended, but now i'm a little confused and i don't know if the data that i'm importing is "wrong" for the purpose or is really that difficult to understand the "new" block

Réponses (1)

Ashutosh Thakur
Ashutosh Thakur le 17 Juin 2024
Hi Yuri,
I have tried importing this data into the Signal Editor on my end by following this documentation link https://www.mathworks.com/help/simulink/slref/signaleditortool.html and was able to import this signal successfully using the XLSX file link attached. I would suggest you try some of the troubleshooting steps mentioned below:
>> signalEditor
and try to import the spreadsheet again.
I hope the above-mentioned steps helps you.

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by