Skip to content
Snippets Groups Projects
Commit a6255965 authored by Hock, Martin's avatar Hock, Martin
Browse files

Added a notice on how to generate paths for multiple files

parent 048c6840
No related branches found
No related tags found
1 merge request!73Docs/minimalexampleinreadme
Pipeline #669978 passed
......@@ -29,7 +29,7 @@ The **ProjectID** is your custom project number, it well be the prefix of the ID
`PlotID.Publish(DataPaths,scriptPath, figure, options)`
`scriptPath` contains either the path to the script, this can be provided with the simple call of `scriptPath = [mfilename('fullpath'),'.m']` or the script or function name that is used for creating your plot. \
`DataPaths` contains the path(s) to the research data, for multiple files you can use a cell array (We recommend using absolute paths). It is also possible to pass an arbitrary number of variables as struct. \
`DataPaths` contains the path(s) to the research data, for multiple files you can use a cell array (We recommend using absolute paths). It is also possible to pass an arbitrary number of variables as struct. To generate all paths for a filetype try: `f=dir(/folderpath/*.mat); rdata=fullfile({f.folder},{f.name})`. \
`figure` is the figure that should be published.
** Minimal Example:**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment