MATLAB Answers

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

1 view (last 30 days)
Vishal Shankar
Vishal Shankar on 4 Sep 2018
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


Sign in to comment.

Answers (0)

Sign in to answer this question.

Translated by