Here is an example code snippet to read an excel sheet from sharepoint in MATLAB using the sharepoint function:
main.m536 chars17 lines
Note that you would need to have the MATLAB Add-In for Microsoft Office installed to use the sharepoint function. Additionally, you may need to adjust the url, username, password, and excelFilePath variables to match your sharepoint environment.
gistlibby LogSnag