From: dfgdg dfgdfg on
How can i enable 'grid on' function enable for XY graph in Simulink?
From: dfgdg dfgdfg on
Edit:
How can i enable 'grid on' function for XY graph tool in Simulink?
From: dfgdg dfgdfg on
Is there anyone to answer my question???I want to see grids at XY Graph(simulink block).Is it possible??
From: Phil Goddard on
There is no block property that allows it to done.

However, an X-Y graph is simply a MATLAB figure window, so assuming the block is open then the following will work

>> hf = findall(0,'Name',get_param(gcb,'Name')); %handle to figure window
>> ha = findall(hf,'Type','axes'); %handle to axis
>> set(ha,'XGrid','on','YGrid','on') % trun the grid on

Phil.