A matrix is passed into Simulink fromworkspace,Invalid workspace variable specified as workspace input in 'test03/From Workspace1'. Time values must be non-decreasing.
53 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
img is a variable that I get from reading the image information. I want to pass in the img[512,512] matrix to do bit-by-bit Xor. I have learned that the requirement for the first column of data from workspace is time series. May I ask how I should solve this problem?Invalid workspace variable specified as workspace input in 'test03/From Workspace1'. Time values must be non-decreasing.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1289905/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1289905/image.png)
0 Kommentare
Akzeptierte Antwort
Paul
am 9 Feb. 2023
If img is a contstant matrix, don't use a From Workspace block. Instead, use a Constant block and set its 'Constant value' block parameter to img.
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!