How to Compile an Application with the "pspectrum" function?
显示 更早的评论
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 个评论
Jeff
2019-8-1
awezmm
2019-8-1
Do you manually add that sptfunctions folder or did it find that automatically?
Jeff
2019-8-1
Kevin Chng
2019-8-2
编辑:Kevin Chng
2019-8-2
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
2019-8-2
Jeff
2019-8-19
Jeff
2019-8-19
采纳的回答
更多回答(1 个)
Sean de Wolski
2019-8-19
0 个投票
- 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
类别
在 帮助中心 和 File Exchange 中查找有关 Communications Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!