Groovy programming in MATLAB
이전 댓글 표시
Groovy ( http://groovy.codehaus.org/ ) 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. http://groovy.codehaus.org/Cookbook+Examples 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();
>> console.run();
A search for “groovy” on Answers and the Newsgroup gives no hits – hence this “question” to draw more attention to it.
댓글 수: 7
Image Analyst
2012년 7월 1일
편집: Image Analyst
2012년 7월 1일
Do you have a simple example of something I can do with Groovy that can't be done with MATLAB? Or that can be done much much easier? I would need a reason to spend time learning another language.
Malcolm Lidierth
2012년 7월 1일
Walter Roberson
2012년 7월 1일
How is the OOP performance of groovy compared to MATLAB's OOP performance?
Malcolm Lidierth
2012년 7월 1일
Yair Altman
2012년 7월 3일
@Malcolm - could I shamelessly solicit you for a guest article about this for the UndocumentedMatlab.com website?
Malcolm Lidierth
2012년 7월 3일
Kye Taylor
2012년 7월 3일
With a name like groovy, I feel compelled to learn it.
답변 (1개)
Yair Altman
2012년 7월 4일
0 개 추천
For anyone's information, I just posted the following article by Malcolm about using Groovy in Matlab: http://UndocumentedMatlab.com/blog/using-groovy-in-matlab/
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!