回答済み
writetable takes forever - what is faster?
I've made a simple test with R2013b, 64bit, Win7, local SSD, and a spinning HD. Some results * elapse time for writing in...

11年以上 前 | 1

回答済み
Importing ISO 8601 Formatted CSV Dates into Matlab R2014b
It's a mess! The old functions, *|datenem|*, etc., are not updated to honor the new <http://se.mathworks.com/help/matlab/ref/...

11年以上 前 | 0

回答済み
File path containing %
Use <http://se.mathworks.com/help/matlab/ref/getenv.html getenv, Environment variable> to get values of environment variables o...

11年以上 前 | 2

| 採用済み

回答済み
Is there a way to connect to Microsoft SQL Server database without needing the database toolbox?
Did you search the <http://www.mathworks.com/matlabcentral/fileexchange/?utf8=%E2%9C%93&term=SQL+server File Exchange for SQL Se...

11年以上 前 | 2

回答済み
How can I speed up importing large .d files?
Does the file consist of header rows followed by data rows, which contains only numerical data? (No string data such as date ti...

11年以上 前 | 1

回答済み
Read in a plain/text file in Matlab
Try >> out = cssm(); >> out{1}(12:14) ans = 'Kladno' 'Ostrava' 'Komorany' where functi...

11年以上 前 | 0

| 採用済み

回答済み
Scanning a text file for bits and pieces of information
I'm surprised that <http://www.mathworks.com/matlabcentral/fileexchange/28518-xml2struct *|xml2struct|* by Wouter Falkena> faile...

11年以上 前 | 0

| 採用済み

回答済み
To get the time value from a large array
* Why is the word "large" in the title? How large is the file? * These two dates are they the only ones in the file? For a s...

11年以上 前 | 0

回答済み
meaning of @ in class context?
See <http://se.mathworks.com/help/matlab/matlab_oop/calling-superclass-methods-on-subclass-objects.html Call Superclass Methods ...

11年以上 前 | 3

| 採用済み

回答済み
exiting if condition and for loop?
Try for i=1:100 if condition operations; else break end end and see <htt...

11年以上 前 | 0

| 採用済み

回答済み
Having problems transposing a large vector.
I can reproduce (on R2013b,32GB,64bit) the problem you see. Rows exceeding a certain size are not displayed in the "Variables ed...

11年以上 前 | 0

| 採用済み

回答済み
How can I remove values from a matrix outside the range and create matrix within the range
Y = X( X>=20 & X<=23 );

11年以上 前 | 5

| 採用済み

回答済み
How do i get the index position of a multiple number from an array?
Seems to do it >> is = arrayfun( @(num) mod(num,900)==0, A ) is = 0 0 1 0 1 0 0 0 ...

11年以上 前 | 0

回答済み
"IntelliSense" using MATLAB commands.
MATLAB was conceived in the 1970s - at the time of Bill Gates first BASIC interpreter. New functions have been added ever since....

11年以上 前 | 0

| 採用済み

回答済み
Rethrow a whole error as warning
Yes, an alternative is try % do stuff catch me disp( getReport( me, 'extended', 'hyperlinks', 'on...

11年以上 前 | 9

| 採用済み

回答済み
Read text file and identify certain values line by line, or character by character
For an alternate approach, see <http://se.mathworks.com/matlabcentral/answers/222720-importing-mixed-data-from-csv-or-xml-file#a...

11年以上 前 | 0

| 採用済み

回答済み
Best way to summarize statistical data
_"not even sure what it means to summarize statistical data "_ &nbsp neither am I However, see * <http://www.mathworks.com...

11年以上 前 | 0

| 採用済み

回答済み
extracting the lines of interest to a matrix from a text
*An alternate approach.* The function *|cssm|* transfers the entire content of the text file to a structure array. This structur...

11年以上 前 | 0

| 採用済み

回答済み
Parsing a text file in matlab and accessing contents of each sections
Here is a function, which reads *|question2.txt|* and returns a struct vector. It might serve as a starting point. >> out ...

11年以上 前 | 0

| 採用済み

回答済み
What's the difference using .* and *, or ./ and /?
Element-by-element operations. These are obtained using .* , .^, ./, or .\. See the Arithmetic Operators page. See * <http://...

11年以上 前 | 1

| 採用済み

回答済み
How can I use textscan without delimiter?
Must be done in two steps * read as character to avoid the white-space-magic * convert to numerical %% fid = fop...

11年以上 前 | 2

| 採用済み

回答済み
Using version deatils of the tool box in application
One way sas = ver; iss = strcmpi( 'Stateflow', {sas.Name} ); sas(iss).Version ans = 8.1

11年以上 前 | 0

| 採用済み

回答済み
Programming Problem in structure
Try >> b = [a(1:2).x] b = 3 1

11年以上 前 | 1

| 採用済み

回答済み
Why does csvread behave differently for large csv files?
I reproduced your result on R2013a, Win7 >> [CR,FS] = cssm(1e5); whos('CR','FS') Name Size Byt...

11年以上 前 | 0

| 採用済み

回答済み
How to delete a specific line from text file?
An alternate approach function cssm( ) %% str = fileread( 'cssm.txt' ); pos = strfind( str, sprin...

11年以上 前 | 2

回答済み
Converting entire cell array to strings
is this close to what you want? >> strsplit( strjoin(x), ',') ans = 'words' '10' '20' '30' 'more wor...

11年以上 前 | 1

回答済み
Is it possible to increase the speed of writing a delimited text file using "writetable" and if so how?
Caveat: I've never used the new &nbsp *|table|* ! * _"I don't understand why ..."_ &nbsp I assume that regarding *|writetabl...

11年以上 前 | 0

回答済み
How can I solve a problem when running a batch file within Matlab ?
Try system( fullfile( folderspec, Ab.bat ) )

11年以上 前 | 1

| 採用済み

回答済み
Reading a string datafile line by line
Try cac = textscan( fid, '%s', 'Delimiter', '\n' )

11年以上 前 | 0

| 採用済み

回答済み
Summing elements of a vector sequentially?
See <http://se.mathworks.com/help/matlab/ref/cumsum.html cumsum>

11年以上 前 | 0

| 採用済み

さらに読み込む