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

5 visualizaciones (últimos 30 días)
Niamh Dooley
Niamh Dooley el 8 de Nov. de 2017
Editada: Niamh Dooley el 8 de Nov. de 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?

Respuestas (0)

Categorías

Más información sobre C Data and Function Interfaces en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by