Hi, I want a solution regarding below error.

mk_egs_string("grid.3d","NcGridnew.txt");
Reading grid file
Finished reading grid file
Matrix dimensions must agree.
Error in mk_egs_string (line 34)
temp = find(xarray==yarray);

Antworten (1)

Steven Lord
Steven Lord am 21 Okt. 2020

0 Stimmen

Google found only one hit for mk_egs_string. It was this question. So this is not a MathWorks function, nor is it a function on the File Exchange. So you should probably contact the author of that file for help. Or if you are the author, we're going to need a lot more information about what this function is supposed to do.

5 Kommentare

Dina Sang
Dina Sang am 21 Okt. 2020
mk_eds_string is my scripts name that has two inputs grid.3dm and .txt file, when is reading the grid file I am getting bellow error: emp = find(xarray==yarray);
I am very new for using matlab, this scripts is written by somebody else.
Walter Roberson
Walter Roberson am 21 Okt. 2020
We have not seen your code so we do not know what xarray and yarray are.
Dina Sang
Dina Sang am 21 Okt. 2020
where I can put my code?
Walter Roberson
Walter Roberson am 22 Okt. 2020
Dina Sang
Dina Sang am 22 Okt. 2020
Please see the attachemnt ,

Diese Frage ist geschlossen.

Gefragt:

am 21 Okt. 2020

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by