-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I feel, there is a gap in the documentation.
Maybe my technique is no good but I think the problem i address is real.
I have R2018b.
If i just create a mltbx from the prj file, then a lot of warnings come up.
So i added a function paths in the root folder to be able to paths add the relevant paths.
Reverse engineering seems to indicate that the part of the current paths pointing into the toolbox folder
forms the paths in the mtlbx file.
So for sake of reproducibility, we need (if you accept the other issue on cleanXXX) clean,
then restart MATLAB, then paths add to have reproducible paths.
then open the prj file and package.
Well. This leads me to the suggestion to add paths.m top level also.
Maybe there are other techniques i dont know anything about
but to my knowledge this is a solide concent.
Then comes some gap... you talk about a license file,
but no idea how to include it.
I wrote a separate issue report for this.
To be honest I think we need more:
we need also test if the toolbox is installed already.
To that end: paths rm to remove these paths.
Then double click mltbx to install.
Then finally a check that the toolbox works when installed also.
The paths rm is to ensure that the test dont run on the local copy .
The we need paths test to add paths for tests which are outside toolbox
and then run tests on the installed toolbox..