Comments (5)
How many rows are in your mOut
? I remember similar errors when I tried the MATLAB Snippet node, and I had to provide at least two rows in the output to get it work.
from knime-scripting.
Hey @stelfrich
a workaround is to append the following line to the end of you snippet:
mOut.Properties.VarDescription = {'Septal.length', 'Septal.width', 'Petal.length', 'Petal.width'};
I know, this is not very transparent at the moment, but you can use the VarDescription
property of dataset and table matlab objects to carry the column names of the output table. This is because dataset does not allow white spaces and a couple of other characters.
I am now working on the matlab code that transfers the data to the matlab workspace to make the default behaviour a bit more consistent and add a bit of explanation to the default snippet.
from knime-scripting.
from knime-scripting.
I know, this is not very transparent at the moment, but you can use the VarDescription property of dataset and table matlab objects to carry the column names of the output table. This is because dataset does not allow white spaces and a couple of other characters.
Is it documented somewhere and was I just too stupid to find it? I guess it would make sense to add documentation about that possibility to the node description, even with the fix available.
Thanks for your efforts on this (and I mean knime-scripting
in general not just this fix), @Meyenhofer! ๐
from knime-scripting.
You can find information about the dataset/table properties in the node description (see screenshot). Now with the more consistent behauviour concerning column naming from the matlab output I hope that this will not make anymore trouble.
from knime-scripting.
Related Issues (20)
- Run MATLAB headless HOT 1
- Error in generic node Convert to R HOT 1
- R-plot always saves figures in PNG-format
- Dose Response node fails with column names containing 'ยต' und Windows HOT 2
- Matlab Snippet - node - hashmaputils.m HOT 4
- KNIME Analytics Platform prompts for proxy user and password on startup HOT 9
- Table with text columns containing and starting with missing values produce "NA" values where it should be NA HOT 5
- Try to remove cajo dependency
- Improve README HOT 2
- Template URL does not work with redirects
- Python Scripting templates do not return pandas Dataframe HOT 3
- R plot output settings enhancement: .svg, .pdf, set dpi
- Repaint plot doesnt work when window maximized HOT 1
- Python nodes should support boolean columns instead of error
- Filechooser RGG element in python snippets/plots supports only R-type vector
- SDF columns causes error for R-snippet/-plot
- Cannot import data to matlab HOT 1
- Matlab Compiler Runtime installation interferes with the automatic matlab executable detection
- Color model passed to R looses sorting of domain values HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knime-scripting.