Where are the sps.*** constants defined in the examples?

6 ビュー (過去 30 日間)
Franklyspeaking 2016 年 5 月 23 日
編集済み: Walter Roberson 2021 年 3 月 28 日
In many SimPowersystems examples, there are the constants 'sps.*' which I couldn't find where they are defined. For example, in the "Triangle Generator" block of "PWM_Generator_2Level" example, its frequency and phase parameters are assigned as "sps.Fc" and "sps.Pc". My question is where is the 'sps' defined and how?

回答 (1 件)

Jorge Ignacio Cisneros Saldana
Jorge Ignacio Cisneros Saldana 2021 年 3 月 28 日
編集済み: Walter Roberson 2021 年 3 月 28 日
Check this video. It was very helpful for me to find the locations of the variables within a model in simulink.


Help Center および File ExchangeData Representation in Generated Code についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by