Code covered by the BSD License  

Highlights from
UISignalBuilder2

Be the first to rate this file! 8 Downloads (last 30 days) File Size: 17.3 KB File ID: #41615
image thumbnail

UISignalBuilder2

by

 

03 May 2013 (Updated )

A visual tool that allows to build signals and save them to workspace variables.

| Watch this File

File Information
Description

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.

Acknowledgements

Uisignalbuilder, Ak Zoom, and Grid Bag Layout inspired this file.

Required Products MATLAB
MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
06 May 2013

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

Contact us