Skip to content

Miscellaneous User Interaction functions for Matlab used in various self-hosted repositories.

Notifications You must be signed in to change notification settings

Phy3hogga/User_Interaction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

User Interaction

Matlab scripts that provide some simple quality of life functions while providing simple user input. This is a supporting submodule for other repositories.

Functions

Announce_Finish.m

Plays a stock matlab sound, designed for making clear that a script running in the background that takes a prolonged period of time to finish execution has ended. Allows for a reduced frequency of checking the progress of the script.

Announce_Finish();

User_Select_Coordinate.m

Selects a user specified co-ordinate from an image within a structure.

%Random data
Structure.Data.I = rand(50,50);
%Field I containing the data
Selection_Parameters.Image_Field = 'I';
%If the co-ordinate selection is absolute or relative to the centre of the image
Selection_Parameters.Relative_Center = true;
%Get X, Y co-ordinates of the user selection (interactive window)
[X, Y] = User_Select_Coordinate(Data, Selection_Parameters)

Built With

References

About

Miscellaneous User Interaction functions for Matlab used in various self-hosted repositories.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages