Run Processing sketches in Matlab

版本 1.0.0.0 (200.9 KB) 作者: Mark
Run Processing Sketches in Matlab (or Max/MSP)
372.0 次下载
更新时间 2011/6/15

查看许可证

Run processing sketches from Matlab or MAX/MSP.

The Processing class wraps a sketch (PApplet) in a window (Frame) and provides methods to show and dispose sketches.

First, you need to make sure Matlab has acces to the processing code in "core.jar". I have included an install script to add "core.jar" to the classpath.

Then, export the sketch (*.pde) to an Applet to obtain the *.java and *.class files. Make sure there are in Matlab's classpath (using javaclasspath).

Finally, you can run the sketch by using
Processing.run('your.sketch.classname.here')

You can also set sketch location, always on top, and a few other things.

An example sketch & matlab script is included.

This Processing-wrapper-class can also be used in MaxMSP.

引用格式

Mark (2024). Run Processing sketches in Matlab (https://www.mathworks.com/matlabcentral/fileexchange/31817-run-processing-sketches-in-matlab), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Propagation and Channel Models 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0