MATLAB Answers

Realtime feedback of Simulink signals in command line

1 view (last 30 days)
Ali Asghar Pourostad
Ali Asghar Pourostad on 13 Dec 2019
Hey There!
I run a simulink model in Simulink Desktop Real-time in external mode and I want to show feedback of some signals to user real time and without any delay.
I use logging signals to store signals to base workspace but it has delays about 0.5 second to refresh signal data.
I know that In normal mode, exact value of a block is accessable with this function.
rto = get_param(gcb,'RuntimeObject')
but in external mode the returned value is 0
How can access a block data or a signal without any delay from command line?


Sign in to comment.

Answers (0)

Sign in to answer this question.