mphversion
Return the version number for COMSOL Multiphysics.
Syntax
v = mphversion
[v,vm] = mphversion(model)
Description
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 model_tutorial_llmatlab.mph:
model = mphopen('model_tutorial_llmatlab');
Get the version numbers:
[version, model_version] = mphversion(model)
See Also
mphload, mphsave