Skip to content

Instantly share code, notes, and snippets.

@BonfaceKilz
Created December 3, 2017 20:15
Show Gist options
  • Save BonfaceKilz/c23ff4f6713bd3e7c7f8b07f2c941c8d to your computer and use it in GitHub Desktop.
Save BonfaceKilz/c23ff4f6713bd3e7c7f8b07f2c941c8d to your computer and use it in GitHub Desktop.
The Simulink scope block does not support the manipulation of graphics properties in scope displays. To add labels to the block, the following snippet of Matlab code is used
shh = get(0, 'ShowHiddenHandles');
set(0, 'ShowHiddenHandles', 'On');
set(gcf, 'menubar', 'figure');
set(gcf, 'CloseRequestFcn', 'closereq');
set(gcf, 'DefaultLineClipping', 'Off');
set(0, 'ShowHiddenHandles', shh);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment