How to log persistent variables, if they are used in a user defined Matlab function in Simulink

2 visualizaciones (últimos 30 días)
Hi I have a matlab function in which i have used a few persistent variables as accumulators I need to log the signal and see the accumulator value in the Simulink data inspector I don't want to output them as signals or function outputs. How else can i log them and see them in Simulink data inspector
Thanks in advance

Respuestas (0)

Categorías

Más información sobre Analyze Simulation Results en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by