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

5 次查看(过去 30 天)
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

回答(1 个)

Ashutosh Thakur
Ashutosh Thakur 2024-6-17
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.

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by