I saw some examples of audio plugin generation, but I want to use my own custom functions in .m files. For example, I am not using Matlab's own spectrogram function, but my own spectrogram function and I will need it, along with the Inverse STFT function I have to generate a plugin. My question is how is this done with the audio plugin class? How do I add or call these external functions so that I can use them and will they be packaged together when it comes to the generation of VST phase?
Also, what if my VST plugin is not real-time. I want to create a plugin where when it loads, the user clicks a button called process and then a waitbar appears until process is done and then the input signal is modified by this process.
Can someone show me a snippet of code or something, just to get me started.