Class: String

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

Instance Method Summary collapse

Instance Method Details

#to_matlabObject

Converts the string to a MATLAB mxArray



6
7
8
# File 'lib/matlab/driver/native/conversions.rb', line 6

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