0.0
No release in over 3 years
== USAGE: require 'matlab' engine = Matlab::Engine.new engine.put_variable "x", 123.456 engine.put_variable "y", 789.101112 engine.eval "z = x * y" engine.get_variable "z" matrix = Matlab::Matrix.new(20, 400) 20.times { |m| 400.times { |n| matrix[m, n] = rand } } engine.put_variable "m", matrix engine.save "/tmp/20_x_400_matrix" engine.close # May also use block syntax for new Matlab::Engine.new do |engine| engine.put_variable "x", 123.456 engine.get_variable "x" end == REQUIREMENTS: * MATLAB * GCC or some other compiler to build the included extension * SWIG (If you want to recompile the SWIG wrapper) * Mocha (For testing only)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.5.1