Borrar filtros
Borrar filtros

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

4 visualizaciones (últimos 30 días)
Franklyspeaking
Franklyspeaking el 23 de Mayo de 2016
Editada: Walter Roberson el 28 de Mzo. de 2021
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?

Respuestas (1)

Jorge Ignacio Cisneros Saldana
Jorge Ignacio Cisneros Saldana el 28 de Mzo. de 2021
Editada: Walter Roberson el 28 de Mzo. de 2021
Check this video. It was very helpful for me to find the locations of the variables within a model in simulink.

Categorías

Más información sobre Data Representation in Generated Code en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by