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