Skip to content
Discussion options

You must be logged in to vote

Ok, I have "toolboxerized" the BrainWavelet toolbox. My updated code runs without crashing but let me list the changes I made here and you can let me know if I did anything horrific.

  1. I added wdsClass.m -- I called the class wds (waveletdespiking) and it's mostly just fwsClass with a name change and a addpath(genpath()) to pick up nested mfiles. (I'll include the code listing at the end so it makes my list easier to read)

  2. I load the toolbox on entry to aamod_waveletdespike.m (which also loads spm) and unload on exit:

    case 'doit'        
        [ ~, SPMtool ] = aas_cache_get(aap,'spm');        
        [ ~, WDS ] = aas_cache_get(aap,'wds');
        WDS.load;
        %% Describe …

Replies: 13 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@tiborauer
Comment options

Comment options

You must be logged in to vote
1 reply
@tiborauer
Comment options

Answer selected by tiborauer
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #252 on September 27, 2021 14:00.