Uploading a file with webwrite
8 views (last 30 days)
I'm trying to write a program that will convert a Word document to an image. As best as I can figure, the only Microsoft Office files MATLAB supports are Excel files.
I found a free API ( cloudconvert ) that will convert between file types, but I'm having only partial success using it. Through plenty of trial and error, I've figured out how to convert and download a word document that I found online, but I can't figure out how to upload my own file.
The cloudconvert documentation says to include the file as a POST field. I can't figure out how to do this with webwrite; I can only include name-value pairs or a MATLAB structure, neither of which seems to help me.
I'd appreciate any help in figuring this out (or let me know if you think it's not possible).