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

조회 수: 10 (최근 30일)
Niamh Dooley
Niamh Dooley 2017년 11월 8일
편집: Niamh Dooley 2017년 11월 8일
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