Community Profile

photo

Andrew


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


save matrix....load matrix
A = 2 3 4 5 6 7 8 8 9 how can i save the matrix A to a file (txt or mat)? And th...

10 years ago | 2 answers | 3

2

answers

Question


how can i delete every row with the same number?
C = 2 4 2 4 2 2 2 2 3 1 3 4 2 4 3 4 4 ...

10 years ago | 1 answer | 0

1

answer

Question


opening multiple txt with fopen...
how can i change the value of k and have something like f = fopen ('C:\s\101.0mm.txt'); f = fopen ('C:\s\102.0mm.txt'); f...

10 years ago | 1 answer | 0

1

answer

Question


append the content of a txt to the end of a txt....
how can i append the content of content.txt to the end of the 33.txt i think the code should be something like that... cl...

10 years ago | 2 answers | 0

2

answers

Question


append data to the end of a txt file...works for 1 line...it doesnt work for two lines
the above append alength to the end of 111.txt clc fid = fopen('C:\Users\Mr Andrew\Desktop\111.txt', 'a'); for k = 1:5 ...

10 years ago | 2 answers | 0

2

answers

Question


append data...it doesnt change line
i want to open the 33.txt go to the end of the file add the number 4 ,change line and etc etc... clc for k=1:1:5; ...

11 years ago | 3 answers | 0

3

answers

Question


open txt and add text
how can i open a txt file...go to the end of the file and add 10 times this text.. "LocalVariables"), Array("NAME:ChangedProp...

11 years ago | 0 answers | 0

0

answers

Question


check a folder every 10 sec
clc if Num<5 display (wait) D = dir(['C:\s', '\*.txt']); Num = length(D(not([D.isdir]))) else display (ok). e...

11 years ago | 1 answer | 0

1

answer

Question


textscan,skip 4 first line and import olny 2 columm....
=============================================================================== ANSOFT CORPORATION ...

11 years ago | 1 answer | 1

1

answer

Question


replace first match with a value,second match with a different value etc
I have a txt with 2000 lines.In this txt EE1 appears 100 times.If i want to change the first EE1 i found with a value from a mat...

11 years ago | 3 answers | 0

3

answers

Question


replace only the first match
I have a txt with 2000 lines. i want to open the txt,scan,find EE1 and replace it(only the first EE1,not the second) then create...

11 years ago | 1 answer | 1

1

answer