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

5 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 C Data and Function Interfaces 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by