What are Ts_Control and Ts_Power variables?

10 ビュー (過去 30 日間)
Parth Kharade
Parth Kharade 2018 年 9 月 18 日
回答済み: Sambit Senapati 2018 年 9 月 21 日
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?

採用された回答

Sambit Senapati
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 件)

コミュニティ

カテゴリ

Help Center および File ExchangeSources についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by