Where are the sps.*** constants defined in the examples?
3 次查看(过去 30 天)
显示 更早的评论
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/164854/image.jpeg)
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Representation in Generated Code 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!