How is Fs defined in HighResolu​tionFilter​BankSpectr​alEstimati​on.slx Simulink model

1 次查看(过去 30 天)
I wish to modify the sample rate, Fs, in the HighResolutionFilterBankSpectralEstimation.slx model from Mathworks
When I run the simulation the Fs variable appears in the Matlab Workspace (along with a few others), but when I look through the model blocks I can see where the Fs variable is used, but cannot find where it is defined to the value shown in the Matlab Workspace.
How and where is the Fs variable defined?

采纳的回答

Brian Hannan
Brian Hannan 2019-1-3
Fs is defined in the InitFcn model callback.

更多回答(1 个)

Gil Gutierrez
Gil Gutierrez 2019-1-4
Got it. Thanks.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by