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

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Brian Hannan
Brian Hannan il 3 Gen 2019
Fs is defined in the InitFcn model callback.

Più risposte (1)

Gil Gutierrez
Gil Gutierrez il 4 Gen 2019
Got it. Thanks.

Community Treasure Hunt

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

Start Hunting!

Translated by