How to have access to the fcfwrite function?
Show older comments
Hello,
I have designed a bandpass filter using the designfilt function and it works as expected. The only annoyance is that it takes around 10 minutes to generate the coefficients on my machine. The result is stored on a persistent variable so that subsequent executions don't have this problem.
I was thinking about saving the filter to a file using the fcfwrite function, as documented here. However, my matlab install simply does not provide this command. I have the DSP toolbox installed, and the fcfileread command is available.
It seems like I'm the first person on the open web to have this issue. I'm running Matlab R2026a on Fedora 44. For now the workaround seems to be storing it on a binary file containing only the coefficients, not nearly as convenient as the built-in function.
Accepted Answer
More Answers (1)
However, my matlab install simply does not provide this command.
The same with R2026b:
which fcfileread
which fcfwrite
Contact support - looks like a bug for me (or the function is no longer in use or the function works when called, but is not shown by the "which" command):
The content of the function looks empty:
type fcfwrite
Categories
Find more on Filter Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!