RubyGems Navigation menu

matlab-ruby 2.0.2

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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 2.0.3 - May 19, 2008* (42.0 KB)
  2. 2.0.2 - May 19, 2008* (42.0 KB)
  3. 2.0.1 - February 21, 2008* (42.0 KB)
  4. 2.0.0 - January 07, 2008* (41.5 KB)
  5. 1.0.1 - April 27, 2007* (41.0 KB)
显示所有版本 (共 6 个)

Runtime 依赖 (1):

hoe >= 1.5.1

业主:

作者:

  • Jonathan Younger

SHA 256 校验和:

763e73c9e54b948100045d0e2c15eb80719d6ab70d0972047e86ac69223c1cf2

下载总量 25,288

这个版本 4,007

许可:

需要的 Ruby 版本:

链接: