help
help > RE: Stop: Design Matrix not found or inconsistent
May 27, 2025 12:05 AM | Andrew Zalesky
RE: Stop: Design Matrix not found or inconsistent
Hi,
this error is most likely caused by some connectivity matrices not being read in properly. Try providing the connectivity matrices as a mat file.
Please check to ensure that all connectivity matrices are being read in. If one or matrices cannot be read, the design matrix error is thrown because the design matrix expects more matrices that what are read in.
The design matrix itself looks fine.
Andrew
Originally posted by jianan zhao:
Dear all,
I am encountering a "Stop: Design Matrix not found or inconsistent" error while using NBS Toolbox 1.2 with MATLAB 2023b for data analysis. Despite following the guidelines and sample codes from the official documentation, the issue persists, and I am reaching out for your assistance.
Problem Description:
I have defined and saved the design matrix as required. The code generates design matrices for different groups and saves them as ASCII - formatted text files. Here are the details of the design matrix file:
File Path:D:\RawDataPreEnd\Dose\NBS\designMatrix.txt
File Content:
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
Threaded View
Title | Author | Date |
---|---|---|
jianan zhao | May 26, 2025 | |
Andrew Zalesky | May 27, 2025 | |
jianan zhao | May 27, 2025 | |