How to log a block in simulink-model programmatically?
Mostrar comentarios más antiguos
Hi everyone,
is there any way to log a block in simulink-model programmatically
this is how i log signals on and off
selectObj = find_system(gcs,'findall','on','selected','on','Type','line','parent',gcs);
sourcePortArr = get(selectObj,'SrcPortHandle');
set_param(sourcePortArr,'DataLogging','off'); % or set_param(sourcePortArr,'DataLogging','on')
MATLAB R2018b
is there any way like this ?
thank you in advance
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Prepare Model Inputs and Outputs en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!