Hi Fred,
As per my understanding, you’re facing issues while trying to use the custom wavelet created using the “wavemngr” function.
The code for the custom wavelet is in the “qrswavf.m” file that you have created, therefore the input argument of “qrswavf” as you have determined should be the argument you should be passing to the “modwt” function.
If you are following the example code given in the documentation of “wavemngr”, you can modify your code, provided you have changed only the name of the variable, as follows:
wt = modwt(signal, 'qrs2');
You can refer to the documentation of “wavemngr” below:
https://in.mathworks.com/help/wavelet/ref/wavemngr.html