What are Ts_Control and Ts_Power variables?
10 次查看(过去 30 天)
显示 更早的评论
I was looking at a MATLAB code for an MPPT boost converter and encountered these two variables. They have not been used anywhere the main code but are listed in the workspace. The code doesn't work without these two variables. What exactly are these variables and what is their use/significance?
0 个评论
采纳的回答
Sambit Senapati
2018-9-21
From the variable names, Ts_Control would be the sampling time of the MPPT control block and Ts_Power would be the sampling time for other electrical blocks like MOSFET and PWM generator. To see all the sampling time in a given model, go to Display>SampleTime>Colors. This will display different sample time in the model and categorise all the blocks having same sampling time with unique color. For more information to view sample time refer to this link. And to know more on how to specify sample time in a model refer to this link .
0 个评论
更多回答(0 个)
社区
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!