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: 40,707 of 180,702
Downloads: 25,264

Daily

Ranking: 103,205 of 180,689
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
1,9668,431,854hoe

Owners

#GravatarHandle
1iconpoogle