any2ascii

Convert any (MATLAB builtin) variable into a string (for eval or text file storage)
70 Downloads
Updated 18 Jan 2016

View License

This function takes an input variable of any kind (numeric, char, struct, cell, support for sparse double and types other than double) and converts the content into a string representation. Together with the functions hxdouble, hxsingle, and sprintfbx it also allows the conversion to be "loss-less" (keeping all precision bits as a hexadecimal notation of the underlying data).

Cite As

Jochen Weber (2024). any2ascii (https://www.mathworks.com/matlabcentral/fileexchange/54968-any2ascii), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Characters and Strings in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0