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

조회 수: 2 (최근 30일)
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Analyze Simulation Results에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by