RubyGems Navigation menu

matlab-ruby 2.0.3

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)

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 2.0.3 - May 19, 2008* (42 KB)
  2. 2.0.2 - May 19, 2008* (42 KB)
  3. 2.0.1 - February 21, 2008* (42 KB)
  4. 2.0.0 - January 07, 2008* (41.5 KB)
  5. 1.0.1 - April 27, 2007* (41 KB)
Show all versions (6 total)

Runtime Dependencies (1):

hoe >= 1.5.1

Owners:

Authors:

  • Jonathan Younger

SHA 256 checksum:

6358580e4c149c71fc63ec2483c6ca289efd65b2444dfeba29594af68c632ed7

Total downloads 25,238

For this version 5,329

Licenses:

N/A

Required Ruby Version: None

Links: