Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined function or variable 'RecDomain' #2

Open
mpagazehe opened this issue Dec 3, 2020 · 1 comment
Open

Undefined function or variable 'RecDomain' #2

mpagazehe opened this issue Dec 3, 2020 · 1 comment

Comments

@mpagazehe
Copy link

When I run the exmaples, I get an error of undefined 'RecDomain' for ''dom = RecDomain([]); Kindly advise on how I can rectify this problem. Thank you

@ZhouChuanyou
Copy link

When I run the exmaples, I get an error of undefined 'RecDomain' for ''dom = RecDomain([]); Kindly advise on how I can rectify this problem. Thank you

function Recdom = RecDomain(inp)
% inp is a matrix include x,y,z row elements;
% e.g. inp: [100,100,5];
Recdom.Lx = inp(1);
Recdom.Ly = inp(2);
Recdom.Lz = inp(3);
end

I code RecDomain.m like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants