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

Octave function riGetWellNames Class definition #92

Closed
hhgs opened this issue Oct 7, 2013 · 1 comment
Closed

Octave function riGetWellNames Class definition #92

hhgs opened this issue Oct 7, 2013 · 1 comment

Comments

@hhgs
Copy link
Member

hhgs commented Oct 7, 2013

The well names from the Octave function riGetWellNames are Class type 'char', which is not practical to address for later use. The Class should be changed to 'cell' .

Example:
WellNames = riGetWellNames();

% Change to Class: Cell
[n m]=size(WellNames);
cellWellNames={};
for i=1:n
cellWellNames{i}=strtrim(WellNames(i,:));
end

@hhgs
Copy link
Member Author

hhgs commented Oct 8, 2013

Cell type parameters return values by typing:

cellWellNames{1}

@magnesj magnesj closed this as completed Oct 8, 2013
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