Some transmission channels can not accept binary data. It is customary to encode binary data in Base64 for transmission and to decode the data upon reception.
s =
base64_encode (x)
¶Encode a double matrix or array x into the base64 format string s.
See also: base64_decode.
x =
base64_decode (s)
¶x =
base64_decode (s, dims)
¶Decode the double matrix or array x from the base64 encoded string s.
The optional input parameter dims should be a vector containing the dimensions of the decoded array.
See also: base64_encode.