Running multiple publish's in a loop with parameters

1 view (last 30 days)
Hello,
I am having a script which I can publish to HTML via Matlab easily. It will have a certain result I am interested in.
Now I would like to run the whole thing for different datasets, each having it's own result.
The result I would like to see now is this:
  • Having one publish for each run, so I can see the result evolving individually.
  • Having one publish at the end for just taking each of the results and write a summary.
In general, I'd need only the summary, but if I want to check out ceratin details, I can just open the result of the specific fun including all the details.
Any hints on how to do this?
My approach is something like a controller script, setting up the dataset, then run my script. It would collect all necessary values and then run it's own publish... Not sure if this will work out (it does not yet).
Thanks, Jan

Accepted Answer

Jan
Jan on 15 Jul 2013
Hello,
answering myself:
What I said just works if done right ;-)
In a controller script you just load the data, and run
publish myscript
You can even loop that. Through preparing the dataset, it will be provided with different data each run.
At the end, I can easily run a
publish summary
...and to the final magic to put it all together.
Jan

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!