note sure this helps, since you are looking for code.But if you are just interested in using 3DES in VB, here is a VB wrapper around cryptlib.
http://cryptlib.sogot.de/vb.htmlNever used it, so I can't vouch for it.If you are using vb.net, there is a 3DES class in the System.Security.Cryptography namespace.for matlab, you could create dll and use either cryptlib or crypto++
http://www.cs.auckland.ac.nz/~pgut001/c ... b.htmlNote: For new development, you should be using AES instead of 3DES. 3DES' days are numbered.