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

3 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

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

Plus de réponses (1)

Gil Gutierrez
Gil Gutierrez le 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!

Translated by