"Notch" runs fine, and no problem with the Matlab version 20-Mar-2023 Matlab version. But the compiled versions have a bug when High-Pass or Low-Pass filtering for visualization.
bst_bin_R2022b_230130
bst_bin_R2020a_230223:
Confirmed on two different Windows 10 machines, two different types of data. When visualizing the data, under the Tab "Filter" (For visualization only), any attempt to run high pass or low pass results in below
For bst_bin_R2022b_230130
SWITCH expression must be a scalar or a character vector.
Error in fir1 (line 80)
Error in bst_bandpass_hfilter (line 183)
Error in process_bandpass>Compute (line 230)
Error in process_bandpass (line 29)
Error in bst_memory>FilterLoadedData (line 1008)
Error in bst_memory>LoadRecordingsMatrix (line 934)
Error in bst_memory>ReloadAllDataSets (line 1029)
Error in bst_memory (line 73)
Error in panel_filter>ApplyFilters (line 257)
Error in panel_filter>CreatePanel/CheckLowPass_Callback (line 114)
Same error for bst_bin_R2020a_230223, slightly different line numbers:
SWITCH expression must be a scalar or a character vector.
Error in fir1 (line 80)
Error in bst_bandpass_hfilter (line 183)
Error in process_bandpass>Compute (line 230)
Error in process_bandpass (line 29)
Error in bst_memory>FilterLoadedData (line 1011)
Error in bst_memory>LoadRecordingsMatrix (line 937)
Error in bst_memory>ReloadAllDataSets (line 1032)
Error in bst_memory (line 73)
Error in panel_filter>ApplyFilters (line 257)
Error in panel_filter>CreatePanel/CheckLowPass_Callback (line 114)
- John