Class: Numeric

Inherits:
Object
  • Object
show all
Defined in:
lib/matlab/driver/native/conversions.rb

Instance Method Summary collapse

Instance Method Details

#to_matlabObject

Converts the value to a MATLAB double



45
46
47
# File 'lib/matlab/driver/native/conversions.rb', line 45

def to_matlab
  Matlab::Driver::Native::API.mxCreateDoubleScalar(self)
end