From a625596591bc3b8b78087f60e40a692f81e34e7f Mon Sep 17 00:00:00 2001 From: "Hock, Martin" <martin.hock@fst.tu-darmstadt.de> Date: Fri, 18 Mar 2022 20:03:45 +0100 Subject: [PATCH] Added a notice on how to generate paths for multiple files --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c12e4d0..0554adf 100644 --- a/README.md +++ b/README.md @@ -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:** -- GitLab