UISignalBuilder2

A visual tool that allows to build signals and save them to workspace variables.
775 Downloads
Updated 7 Sep 2016

View License

Modified version of UISignalBuilder by Laurent VAYLET.
Use this tool to create signals by mouse-clicks. They can then be exported to Matlab variables at a specified sample period.
Supports:
- Linear, spline, pchip and nearest neighbor interpolation,
- Multiple signals in one figure (you can add signals, not delete them),
- Save/reload data points to/from a workspace variable
- Export signals at a specified sample period.
- Choose which signals to export
- Export in a "Simulink|From Workspace"-friendly form (i.e. a struct with a 'time' and a 'signals' field).
- Intuitive pan/zoom

For this file, I modified the code by VAYLET. GridBagLayout was used for positioning the controls in the figure. A modified version of akZoom (named akZoom2, included in this package) was used for panning/zooming. Note that akZoom2 is not a mature product. It works for this specific project, but functionality in other cases is not guaranteed.

Cite As

Gijs van Oort (2024). UISignalBuilder2 (https://www.mathworks.com/matlabcentral/fileexchange/41615-uisignalbuilder2), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Workspace Variables and MAT-Files in Help Center and MATLAB Answers
Acknowledgements

Inspired by: UISIGNALBUILDER, akZoom, GridBagLayout

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

Made it work with R2015b and higher (where graphics handles are objects instead of numerical identifiers)

1.1.0.0

Added a 'Simulink|From Workspace'-friendly export function.

1.0.0.0