Code covered by the BSD License  

Highlights from
CO2gui - lab control and automation

CO2gui - lab control and automation



06 Jan 2010 (Updated )

Software used for controlling and data logging lab equipment.

function output = cell2double(input)
% CELL2DOUBLE works just like str2double, except on cell arrays

% checks the number of arguments
error(nargchk(1, 1, nargin))

% only accepts cell arrays
if ~iscell(input)
    % only defined for cell arrays
    error('Input must be a cell array.')

% applies it
output = cellfun(@str2double, input);

Contact us