Community Profile

photo

Hugo


Last seen: 3 Tage ago

13 total contributions since 2013

asdsa

Contact

Contributions in
View by

Question


how o count he number of occurences of a string in an external text file?
I would like to count he number of occurences that the string 'ALG' has, considering an external text file and one occurence per...

3 Tage ago | 1 answer | 0

1

answer

Question


How to assign the number of filled columns of a text file as the value of a variable
Hello, I am trying to open the file nt.txt, with the goal of assigning the number of columns to the variable nu. Right now, I...

7 Tage ago | 1 answer | 0

1

answer

Question


How to subtract the elements of an array
Hello, I am coding an .m file in MATLAB R2018a. The code I have (partial) is: nt=[8,17,22,25]' for i=1:3 grad(i)=n...

18 Tage ago | 0 answers | 0

0

answers

Question


How to subtract the elements of an array
Hello, I am coding an .m file in MATLAB R2018a. The code I have (partial) is: nt=[8,17,22,25]' for i=1:3 grad(i)=n...

18 Tage ago | 2 answers | 0

2

answers

Question


How to get modified files from MATLAB evaluations other than the last one- Genetic optimization in MATLAB
Hello, I've coded a genetic optimization algorithm in MATLAB. The code optimizes ANSYS (Finite Element Method) model files. T...

mehr als 2 Jahre ago | 0 answers | 0

0

answers

Question


How can I open a .txt file in a directory, regardless of its name??
Hi, I am coupling MATLAB with ANSYS for structural optimization and I need to open an output file generated by ANSYS. The pro...

fast 3 Jahre ago | 1 answer | 0

1

answer

Question


How can I program ANSYS batch run to run only once at each time when running +100 ANSYS models?
Hi, I am coupling a MATLAB code with the Finite Element Software ANSYS. I would like to run +100 FEM models automatically by ...

fast 5 Jahre ago | 1 answer | 0

1

answer

Question


how to populate the left side with the same values as the right side in an array
Hello All, I want to write a small code that, given an array with an n number of odd cells, populates the left side with the ...

fast 6 Jahre ago | 2 answers | 0

2

answers

Question


how can I do calculations using an array as a result and dividing each element of an array for an expression
Hello, I would like to know how can I do calculations using an array as a result and dividing each element of an array for an...

fast 6 Jahre ago | 0 answers | 0

0

answers

Question


How to get values for each iteration on optimization toolbox
Hello, I am using MATLAB optimization toolbox. I want to know how can I get values on each iteration, such as objective funct...

etwa 7 Jahre ago | 2 answers | 0

2

answers

Answered
how to identify strings on a text file
Hi, The file is a programming file, with several lines. Every line has at least a char. I want to identify the string AX (fo...

mehr als 7 Jahre ago | 0

Question


how to modify a text file replacing an existing string with an user-defined string
Hello, I want to open an existing text file, modify it adding a string that I define and save the new file. The new string sh...

mehr als 7 Jahre ago | 3 answers | 0

3

answers

Question


how to identify strings on a text file
Hello, I want to open a text file, and identify a string. The text file can have multiple lines. For instance I want to find ...

mehr als 7 Jahre ago | 2 answers | 0

2

answers