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 [response, output] = iscellmat(input);
% ISCELLMAT returns true if the matrix can be turned into a matrix.  Will
% also return the output if a second output argument is supplied.

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

% tries to apply the cell2mat - it is quite difficult to decide what rules
% to use to determine this more quickly
    % tries
    output = cell2mat(input);
    % if it worked...
    response = true;
    % it didn't work
    output = {};
    response = false;

Contact us