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);

Réponses (1)

Steven Lord
Steven Lord le 21 Oct 2020

0 votes

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 commentaires

Dina Sang
Dina Sang le 21 Oct 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.
We have not seen your code so we do not know what xarray and yarray are.
Dina Sang
Dina Sang le 21 Oct 2020
where I can put my code?
Dina Sang
Dina Sang le 22 Oct 2020
Please see the attachemnt ,

Cette question est clôturée.

Question posée :

le 21 Oct 2020

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by