knime-mpicbg / knime-scripting

knime-scripting includes scripting extensions for KNIME to integrate R, Matlab, Python and Groovy scripts. These extensions include a collection of nodes to develop and deploy templates in the respective languages.
https://github.com/knime-mpicbg/knime-scripting/wiki
Other
44 stars 25 forks source link

Cannot import data to matlab #91

Closed jochenkrattenmacher closed 6 years ago

jochenkrattenmacher commented 6 years ago

Hello!

When I try to open data with matlab (a simple table with one column, which has a header "x" and a dozen numerical values), a matlab error occurs:

Error using cell Size vector should be a row vector with real elements. Error in hashmaputils>loadhashmap (line 158) vector = cell(vector); Error in hashmaputils (line 45) [kIn, columnNames] = loadhashmap(input.filePath, input.data);

When I catch the error and try to view the value of the 'vector' variable, I see the following: Variable "vector" is inaccessible. When a variable appears on both sides of an assignment statement, the variable may become temporarily unavailable during processing.

I am using Matlab R2016b and Knime 3.5.3 (downloaded the matlab scripting extension within the GUI).

fmeyenhofer commented 6 years ago

c6a2707d0413c95563be779a9c86d5be7a1213e9