How to set the configuration of Powergui FFT analysis tool by code ?
7 views (last 30 days)
Show older comments
Noppadon Theerawattanaset
on 26 Jan 2016
Commented: srikantanss ss
on 9 Aug 2016
I currently working on MATLAB GUI and I want to set the Max Frequency in Powergui FFT analysis tool by coding in m file of my GUI.
I try to use 'set' command but it not worked.
*P = power_fftscope;
set(P,'MaxFrequency','3000')*
so, I would like to ask you Is that possible to do this?
Thank you so much
0 Comments
Accepted Answer
Sebastian Castro
on 27 Jan 2016
The power_fftscope function doesn't access the actual user interface. It simply provides a command-line interface to perform the analysis.
For example, you can run an analysis as follows:
>> FFTDATA = power_fftscope(ScopeData); % Uses default parameters
>> FFTDATA.MaxFrequency = 3000;
>> FFTDATA = power_fftscope(FFTDATA); % Overwrites FFTDATA with new settings
- Sebastian
2 Comments
srikantanss ss
on 9 Aug 2016
first command line (scope data)does not work. ML does not recognise 'scopedata' please clarify
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!