Groovy programming in MATLAB

조회 수: 4(최근 30일)
Malcolm Lidierth
Malcolm Lidierth 2012년 7월 1일
Groovy ( ) is a modern JVM-based programming language that can be used easily within MATLAB if you add groovy-all.jar to the MATLAB javaclasspath.
As a Python-like, dynamically-typed language, it’s likely to be attractive to the some MATLAB users. has examples of using Groovy with databases, XML, URLs and more.
Groovy “closures” can be assigned to MATLAB variables and work much as MATLAB anonymous functions. You can also explore Groovy on-the-fly by invoking a groovy console session in MATLAB (works on Windows and from R2012a on Mac/Linux):
>> console=groovy.ui.Console();
A search for “groovy” on Answers and the Newsgroup gives no hits – hence this “question” to draw more attention to it.
  댓글 수: 7
Kye Taylor
Kye Taylor 2012년 7월 3일
With a name like groovy, I feel compelled to learn it.

댓글을 달려면 로그인하십시오.


Yair Altman
Yair Altman 2012년 7월 4일
For anyone's information, I just posted the following article by Malcolm about using Groovy in Matlab:



Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by