function [v,vm,c]=mphversion(model)
% MPHVERSION Return the version number of COMSOL Multiphysics
%
%   V = MPHVERSION returns the  COMSOL Multiphysics version number that 
%   MATLAB is connected to as a string.
%
%   [V,VM] = MPHVERSION(model) returns the COMSOL Multiphysics version 
%   number that MATLAB is connected to as a string in the variable V and
%   the version number of the model in the variable VM.
%
%   Example:
%     % Load busbar.mph from the Model Library:
%     model = mphload('busbar')
%     % Get the version numbers:
%     [v,vm] = mphversion(model)
%
%   See also: mphload, mphsave

% Copyright 2010-2011 COMSOL
