How to Compile an Application with the "pspectrum" function?
Show older comments
Hello,
I am trying to compile an application that uses the "pspectrum" function (I think it is from the Signal Processing toolbox), but I am having trouble with including the right files in the compiler. I have attached a screenshot of my compiler and the error message I am getting from my compiled application. Are there any other / different files that I should be including in the compiler, or are there other issues that need to be addressed here as well?
7 Comments
Jeff
on 1 Aug 2019
awezmm
on 1 Aug 2019
Do you manually add that sptfunctions folder or did it find that automatically?
Jeff
on 1 Aug 2019
Kevin Chng
on 2 Aug 2019
Edited: Kevin Chng
on 2 Aug 2019
Hi Jeff,
I'm not sure how is your pspectrum.m, I assume there is a function pspectrum for this m file. I guess you dont have signal processing toolbox, therefore you manually add the function to the path for compiling. It should work.
Let try add the script instead of folder to the path. Add pspectrum.m script not folder path.
Jeff
on 2 Aug 2019
Jeff
on 19 Aug 2019
Jeff
on 19 Aug 2019
Accepted Answer
More Answers (1)
Sean de Wolski
on 19 Aug 2019
0 votes
- The signalAnalyzer app is not compilable.
- You shouldn't have to do anything to compile pspectrum, it should just work. Do you have a license for signal processing toolbox checked out at compile time?
- You may need to run: rehash toolboxcache
Categories
Find more on Communications Toolbox 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!