Question

Transforming cell from excel file into numeric matrix

I'm trying to transform a number from an excel file cell located at (381,6) into a 1 by 1 numeric matrix. I'm trying to use this...

2 months ago | 1 answer | 0

Question

How to open an existing SAP2000 model file using API in MATLAB?

I need a to open an existing SAP2000 model file through MATLAB using API. The API documentation provides an example for opening ...

3 months ago | 1 answer | 0

Question

Error using fprintf when copying cell content into a text file

I'm trying to copy the content of the following cell into a text file. I'm using the following code: [maxrow, maxcolumn]=size(...

4 months ago | 2 answers | 0

Question

Transforming a matrix into text with a certain format

Dear members, I have 3 column matreces that I want to transform into into texts having the format shown in the picture below in...

4 months ago | 0 answers | 0

Question

How to use "\" in sprintf as a normal character?

I'm trying to use "sprintf" as follows: command=sprintf('"C:\Program Files\Computers and Structures\SAP2000 19\SAP2000.EXE" "G...

4 months ago | 1 answer | 0

Question

How to execute a simple cmd.exe code in MATLAB?

Hello, I have a simple command prompt (cmd) code that opens and runs a certain software. I need to include this cmd code in a f...

4 months ago | 1 answer | 0

Question

Probabilistic Simulations to be imported to SAP2000 from MATLAB

Dear Members, I have a MATLAB code that generates n random inputs. I want these inputs to be imported into a SAP2000 model so t...

5 months ago | 0 answers | 0

Question

Generating multiple excel files

Dear members, I have an excel file named Template.xls. I need to generate n number of excel files having the same content as Te...

5 months ago | 2 answers | 0

Question

How to include a variable in "xlswrite" matrix name and cell range?

Dear members, I want to include variables x,x1 and x2 in the following function, where x represents the matrix and xls file nam...

5 months ago | 1 answer | 0

Question

How to extract the following number from a text file?

Dear memebers, Can you please help me extract the following number hilighted in yellow from a text file into MATLAB? The numbe...

11 months ago | 2 answers | 0

Question

How to calculate A matrix if C1=A*C2*A' ?

Dear members, How to calculate matrix A using matlab if C1 and C2 are known?

11 months ago | 0 answers | 0

Question

How to include a variable in "fopen" file name in a For loop?

Dear members, This code edits a certain number in an input text and generates a new output file containing the new edited numb...

12 months ago | 1 answer | 0

Question

How to edit a number in a text file and save a copy of the file multiple times?

Dear Members, I need to do a probabilisitc analysis where I will be generating thousands of input text files, they all will be ...

12 months ago | 1 answer | 0