error: Unsupported input format for From Workspace block 'untitled/From Workspace1'. Available formats are double non-complex matrix, a structure with or without time, or a st
84 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mounira
am 29 Okt. 2023
Beantwortet: Walter Roberson
am 29 Okt. 2023
Hi,
I have data from workplace on one column and 15624 lignes, and i want to make enter these data into the inputs of pv array, so i am trying to create a signal,
time=1:0.002:30
but I am having error: Unsupported input format for From Workspace block 'untitled/From Workspace1'. Available formats are double non-complex matrix, a structure with or without time, or a structure with MATLAB timeseries as leaf nodes. All formats require the data to be finite (not Inf or NaN)
could someone help me with it?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1524306/image.png)
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 29 Okt. 2023
When you use From Workspace, then you need to be importing something that has a time component attached to each measurement, such as a timeseries or such as a 2D array with multiple columns (in which case the first column is the time.)
The From Workspace block is not intended to import an array for use as a block. It is not, for example, intended to import an array for use with matrix multiplication, or a lookup table.
The From Workspace block is intended to import signal data -- this set of data at this time, this other set of data at this other time
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!