A matrix is passed into Simulink fromworkspace,Invalid workspace variable specified as workspace input in 'test03/From Workspace1'. Time values must be non-decreasing.
조회 수: 5 (최근 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에서 Workspace Variables and MAT Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!