Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hard-coded SPM directory for Poster #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions spm_cat12.m
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function spm_cat12(varargin)
% open interactive help for newer version because display of html pages does not work anymore
if cat_io_matlabversion > 20212
% SPM header image
Pposter = fullfile( spm('Dir'), 'toolbox', 'cat12', 'doc', 'images', 'CAT_Poster.jpg');
Pposter = fullfile( catdir, 'doc', 'images', 'CAT_Poster.jpg');
F = spm_figure('GetWin');
spm_figure('clear',F);
Fpos = get(F,'Position');
Expand Down Expand Up @@ -333,4 +333,4 @@ function spm_cat12(varargin)
% force use of PET modality in SPM12 to avoid problems of very low variance in spm_spm.m
warning off
spm('chmod','PET');
warning on
warning on