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

4 views (last 30 days)
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?

Accepted Answer

Brian Hannan
Brian Hannan on 3 Jan 2019
Fs is defined in the InitFcn model callback.

More Answers (1)

Gil Gutierrez
Gil Gutierrez on 4 Jan 2019
Got it. Thanks.

Community Treasure Hunt

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

Start Hunting!