Uploading a file with webwrite

조회 수: 10 (최근 30일)
Daniel LaCroix
Daniel LaCroix 2016년 1월 4일
답변: Vinod 2016년 10월 14일
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).
  댓글 수: 1
Rahul Goel
Rahul Goel 2016년 1월 6일
Hi Daniel,
The community will be able to help you better if you could share your workflow in detail and also a description of what you tried to integrate upload functionality and errors encountered, if any.

댓글을 달려면 로그인하십시오.

답변 (1개)

Vinod
Vinod 2016년 10월 14일
Here's an example that uploads any file from MATLAB to DropBox programmatically:
Hopefully you can modify this example for your needs

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by