Using an older version revision of D2D - Data2Dynamics/d2d GitHub Wiki
Functions for working with older revisions
Older revisions can be downloaded from github and used "by hand".
In addition, D2D offers functionality for using older revisions. This might be useful for testing whether an error also occurs for older code versions. The old revisions are referred to by the commit-ID (also termed SHA or sha-hash value). These commit-IDs are hexadecimal strings. They occur on github in long and short versions. Click on "commit" for selecting a specific commit version and selecting the corresponding ID.
arGetOldRevision
Downloading of the old version. The paths have to be set to the download folder by hand.
arEvalWithOldRevision
Evaluating a specific command using an old version. This function can be used to compare the outcome of several versions. Download and setting of paths are done automatically.
arFitWithOldRevision
Fitting with an old revision version.
Examples
sha = '9ad8de7e82190b8cf4e61e61fa8cef5a257b4a06'; % the old commit
revision_path = arGetOldRevision(sha)
addpath([revision_path,filesep,'d2d-',sha,filesep,'arFramework3'])
which arInit % check whether the path is set properly