https://github.com/Data2Dynamics/d2d
Tip revision: d72d4c223fb8adc0e3e44a1d3d1eafce18b995ae authored by Andreas Raue on 06 March 2015, 00:17:07 UTC
Increase C version code, after Joep's submits today to prevent compatibility problems
Increase C version code, after Joep's submits today to prevent compatibility problems
Tip revision: d72d4c2
arGetParsPattern.m
% get parameter value by pattern
%
% [p, pLabels] = arGetParsPattern(pattern, qLog10)
%
% pattern pattern of the parameter name
% qLog10 0=normal, 1=log10 parameter values
function [p, pLabels] = arGetParsPattern(pattern, qLog10)
global ar
pLabels = ar.pLabel(~cellfun(@isempty, strfind(ar.pLabel, pattern)));
p = arGetPars(pLabels, qLog10);