This node opens a local Matlab session and pushes the data table from Knime into Matlab for rapid prototyping. Starting from the Matlab variable containing the KNIME data, a script can be developed and tested, before putting it into a Matlab snippet node.
The input data table is converted into a Matlab type variable (dataset, table, container.Map or structure), and made
available in the Matlab workspace as a variable named kIn. There is also a variable columnMapping,
that is a structure allowing to associate the KNIME column names with the Matlab variable names
(not needed if the dataset or table type is used).
This node needs a Matlab installation on the local machine!
If Matlab is not running, the node launches an instance of the Matlab desktop.
It is recommended to let KNIME launch Matlab. The node can detect open Matlab instances,
but this is not foolproof. The working directory of Matlab will be changed to the location
where KNIME stores the m-file to load the data in the workspace (manually
you'll have to change directory into the temp-dir of the JVM that runs KNIME).
Conventions:
Further reading:
Further documentation can be found on the
wiki.
To understand how to use flow variables in the script, please consult
RGG XML.
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension KNIME Matlab Scripting extension from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.