Borrar filtros
Borrar filtros

How to find the variable that defined Ts

19 visualizaciones (últimos 30 días)
JI HOON YOON
JI HOON YOON el 19 de Jun. de 2017
Comentada: Mohamed Elgbaily el 11 de Oct. de 2021
Hello,
I suffered difficult to change pre-defined Ts (Sample Time) in Simulink Example. I will merge two Simulink examples which have different Ts. However, examples have pre-defined Ts so that I could not find where it was defined. No M file..
Anyone helps me how to change the value of pre-defined Ts (Ts_Control) in Simulink? (Simpower Example, power_hvdc_vsc.slx)
Thanks in advance
Regards

Respuesta aceptada

Vishal Neelagiri
Vishal Neelagiri el 22 de Jun. de 2017
The 'Ts_Control' value is defined in the 'Init' callback of the model. You can access it by right clicking anywhere on your model -> Model Properties -> Callbacks -> InitFcn. The code specified in the 'InitFcn' callback is automatically run during the initialization phase of the model.

Más respuestas (0)

Categorías

Más información sobre Event Functions en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by