I begin by an example.
A = [2 4]; A(1)
I'd like to know if there's a setting in the Matlab Preferences which returns
A(1) = 2
ans = 2
I know that I can write something like
but it's long to do for every variables I want to display.
Nothing I am aware of but you can terminate the code with a semicolon and then use the diary command to capture the commands.