Hi huilee92 and scchester,
I just encountered exactly the same error with WFU_PickAtlas “Results Viewer” under SPM12 + MATLAB R2024a:
From extensive debugging I found
the cause: in wfu_results_defaults.m, around line 46-53 the
code does:
In MATLAB R2024a (and in some
multi-monitor setups) the vectors hind and vind may differ in length, so hind==vind leads to the “Array dimensions
must agree” error.
Fix: replace that block with something like
After applying this patch and restarting MATLAB, the Results Viewer now works correctly in my setup.
If you like, I can share the
full patched wfu_results_defaults.m and my version details (MATLAB
R2024a, SPM12 r7771, PickAtlas 3.0.5b).
Note: If you're searching for
wfu_results_defaults.m: it's located in
.../wfu_results/private/ — being under a
private/ folder, it
won't show up using which or edit unless called from the parent function.
Hope this helps you too!
Best wishes,
Yoshikazu Nakano
Threaded View
| Title | Author | Date |
|---|---|---|
| huilee92 | Apr 23, 2018 | |
| Yoshikazu Nakano | Nov 17, 2025 | |
| scchester | Jun 16, 2021 | |
