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...

3 years 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...

6 years 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...

6 years 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 ...

8 years 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 ...

9 years 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...

9 years 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...

10 years ago | 3 answers | 0

3

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...

11 years 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...

11 years 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 ...

11 years ago | 2 answers | 0

2

answers