MatlabSnippet-Node extension for KNIME Workbench version 4.0.0.v202007201248 by Max Planck Institute of Molecular Cell Biology and Genetics (MPI-CBG)
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).
To use this node in KNIME, install KNIME Matlab Scripting extension from the following update site:
A zipped version of the software site can be downloaded here.
You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.
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.
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 firstname.lastname@example.org, follow @NodePit on Twitter, or chat on Gitter!
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.