"Generate Script" from Import data not working same as direct import

5 Ansichten (letzte 30 Tage)
Niamh Dooley
Niamh Dooley am 8 Nov. 2017
Bearbeitet: Niamh Dooley am 8 Nov. 2017
I am trying to import a single column of numerical data 211 rows long, with 93 empty cells (imported from csv file). I set following parameters:
-Delmited -Tab delimited -Output type: Numerical Matrix -Replace Blanks with NaN
When I click import selection, a variable of size (211,1) is generated, as it should do. But when I click generate script, and run the script, blank rows are removed and a variable of size (118,1) is created.
Is this a problem with the generate script function in R2017a?

Antworten (0)

Kategorien

Mehr zu C Data and Function Interfaces finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by