[Factor,Out,String]=convert.units('erg','J')
% or to convert a specific value:
[Factor,Out,String]=convert.units('inch','pc',1e5)
help convert.units
ConvVal=convert.angular('arcsec','rad',1)

OutE=convert.energy('Hz','erg',1)
OutE=convert.energy('keV','TNT',10)
% convert 1 mJy at 5000 A to AB mag:
Out=convert.flux(1,'mJy','AB',5000,'A')
% convert 19 ST mag at 1e16 Hz tp photons per Ang per second per cm^2:
Out=convert.flux(19,'STmag','ph/A',1e16,'Hz')
% convert 1e-15 erg/Ang/cm^2/s at 1 eV to photons per Hz per second per cm^2:
Out=convert.flux(1e-15,'cgs/A','ph/Hz',1,'eV')
OutTemp=convert.temp(0,'C','K')
Mag=convert.flux2mag(1,22)
Sum=convert.sum_mag(rand(10,1))
% Convert Julian years to Bessilian years:
convert.time(2000,'J','B')
% Convert Jan 1st 2015 to MJD:
convert.time(2015,'1','MJD')
% convert string date to JD:
convert.time('2015-02-02:10:10:56.112','StrDate','JD')
The class convert has no Constant property or Static method named 'mlx'.