A matrix is passed into Simulink fromworkspace,Invalid workspace variable specified as workspace input in 'test03/From Workspace1'. Time values must be non-decreasing.
24 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
Paul
2023-2-9
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Prediction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!