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

Dependency SignalProcessing Toolbox #39

Open
lydiatgit opened this issue Dec 14, 2021 · 1 comment
Open

Dependency SignalProcessing Toolbox #39

lydiatgit opened this issue Dec 14, 2021 · 1 comment

Comments

@lydiatgit
Copy link
Collaborator

The function fmrwhy_bids_preprocMultRegr uses the function struct2array() in l.111
This function is defined in SignalProcessing Toolbox
Solutions:

  1. Either define this is as dependency for the toolbox
  2. Resolve with own function
@jsheunis
Copy link
Owner

The signal processing toolbox shouldn't actually be a dependency, since struct2array seems to have been made part of the Matlab core since 2013:

See here for a reference and possible fix:

In versions up to R2013a, struct2array was part of the Signal Processing Toolbox and was installed in toolbox/signal/sigtools/struct2array.m . it was moved into basic MATLAB in R2013b and was installed in toolbox/shared/measure/struct2array.m . I find it in every version of MATLAB I have installed, including all the beta versions I have loaded.

Seems like running the following is suggested:
restoredefaultpath; rehash toolboxcache

Otherwise a possible implementation is available here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants