Made new button (WBMEMR) w/old working code (DPOAE)
Create WBMEMR in Menu_Tools (app.Menu_Tools_WBMEMR)
From dropdown a + will appear below the last one in the list. Click that to add new Menu item, then rename in the right side panel under app.Menu_Tools. Under Text in the right-side panel (bottom) rename to the correct label.
PushButton Callback (WBMEMR_PB_Callback) is created when PB is made to call Menu_Tools reference
In the PB callback, need to reference convertToGUIDECallbackArguments(app, event) to get eventdata
Pass eventdata into the Menu_Tools_WBMEMR_Callback(app, eventdata)
In Menu_Tools_WBMEMR callback is where book-keeping for figure and external check_in and check_out.
See Menu_Tools_WBMEMR_Callback(app, event) for example. 2. Update external script (WBMEMR) to work with NEL wiring
Document all DPOAE steps
Put all files related to your app in a folder in NEL_matlab
Make sure to add path in startup addpath([root_dir WBMEMR]); startup.m is in nel_general
Notes:
WBMEMR mat data file contains stim which has everything needed. In AR corrected data there are 8 more fields
DPOAE (from menu_tools callback):
get h_dpoae from distortion_product
workspace folder has the dpoaebjm.mat figure
Initialization of h_fig (line 99 in distortion_product) carries the 'DPOAE_Main_Fig' tag
What MH/AS did to convert WBMEMR Ipsi into button
eventdata
eventdata
into the Menu_Tools_WBMEMR_Callback(app, eventdata)addpath([root_dir WBMEMR])
;startup.m
is in nel_generalNotes:
stim
which has everything needed. In AR corrected data there are 8 more fieldsDPOAE (from menu_tools callback):
dpoaebjm.mat
figureh_fig
(line 99 in distortion_product) carries the 'DPOAE_Main_Fig' tagdpoae