Categories: None [Edit]

matlab-ruby

https://rubygems.org/gems/matlab-ruby
== 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)

Total

Ranking: 41,709 of 183,471
Downloads: 25,819

Daily

Ranking: 21,627 of 183,459
Downloads: 6

Depended by

RankDownloadsName

Depends on

RankDownloadsName
2,1048,603,943hoe

Owners

#GravatarHandle
1iconpoogle