How to call the refresh custom code in c caller block from command line?

2 visualizaciones (últimos 30 días)
Hello all,
i would like to know is there any way to call the refresh custom code in c caller block from command line?
Thanks,
V.Ajay Krishna

Respuesta aceptada

Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar el 6 de En. de 2021
set_param(blockPath, 'InstantiateOnLoad', 'On');
This will refresh the block. Hope this will be helpful to someone
  2 comentarios
Adrianne van Roessel
Adrianne van Roessel el 18 de Mzo. de 2021
Does this still work for you? I am also looking for a way to refresh the block from the command line but for me this doesn't work. The blockPath is the complete path including the name of the C Caller block right?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by