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

Corresponding command for setwfdb in your tree? #117

Closed
sami10007 opened this issue Apr 25, 2016 · 3 comments
Closed

Corresponding command for setwfdb in your tree? #117

sami10007 opened this issue Apr 25, 2016 · 3 comments

Comments

@sami10007
Copy link

Hi,

According docs http://wfdb-matlab-toolbox.googlecode.com/svn/trunk/wfdb-swig-matlab/mcode/setwfdb.m, the command should exist. However, it does not exist in your tree (0-9-10), and not in 0-9-9 tree. I need a dbpath such that to allow many projects use my local files, and decrease load on your servers. I mostly need mitdb and other ecg signals.

What is the corresponding command of setwfdb in your tree?

Best regards,

Sami

@alistairewj
Copy link
Contributor

I'm not sure if it exists anymore. My workaround was to use change directory as appropriate - not very elegant but worked. Perhaps someone else has a better solution.

@sami10007
Copy link
Author

sami10007 commented Apr 26, 2016

I do not think changing the directory is a solution. I try to restore the system in #122 without changing the directory.

From Ikaro's answer about the ticket #120, I understand you can do it by doing WFDB_PATH=['/Users/masi/Databases'];. However, I am not anymore sure because my wfdb system is broken in OS X. I think Ikaro means to change the file directly. However, I would not like to do that.

The cleanest way to do this would be setting your WFDBPATH so that the toolbox searches your local directory first (default) and then either a PhysioNet server (any of the mirrors) or none at all.
[- -]
You can change that variable at: https://github.com/ikarosilva/wfdb-app-toolbox/blob/master/mcode/wfdbloadlib.m See lines 45-50.

So I think setting your Database location first in WFDBPATH could be a solution. However, I have not succeeded.

What do you think?

@ikarosilva
Copy link
Owner

Not relevant to toolbox (this is for swig matlab).

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

3 participants