view sbplibVersion.m @ 99:ecf77a50d4fe feature/arclen-param

The arclength parameter function was slow because it called fzero. Now it is constructed once and for all with splines. Much better performance.
author Martin Almquist <martin.almquist@it.uu.se>
date Sun, 06 Dec 2015 15:41:42 +0100
parents 67ab7fd8054c
children ae15b72c16c1
line wrap: on
line source

% Prints the version and location of the sbplib currently in use.
function sbplibVersion()
    scriptname  = mfilename('fullpath');
    [folder,~,~] = fileparts(scriptname);

    name = 'sbplib';
    ver = '0.0.x';

    fprintf('%s %s\n', name, ver);
    fprintf('Running in:\n%s\n',folder);
end