No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

2.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 3.15 KB File ID: #8933 Version: 1.0
image thumbnail




03 Nov 2005 (Updated )

Outputs the m-file commands necessary to recreate a matrix, useful to include constants in m-files.

| Watch this File

File Information

This function takes a variable name, collects its contents from the base workspace and outputs (to the clipboard and the variable OutputCharMatrix) the m-code necessary for MATLAB to re-create the variable, including the variable name.
This is useful for including matrices of constants in m-files.

Accepts full or sparse matrices of real or complex numeric values.

For small 2D matrices, try mat2str instead.

MATLAB release MATLAB 7 (R14)
Other requirements Tested on a windows PC, probably works on UNIX too.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
27 Jan 2006 Victor Zakharov

strange2return in program

Contact us