简体   繁体   English

wfdb Matlab命令在Linux和OS X中可以有所不同吗?

[英]Can wfdb Matlab commands differ in Linux and OS X?

There is a common misunderstanding about restoring wfdb in Matlab in different systems (mainly OS X), a bug since June/2015 - ticket #106 . 关于在不同系统(主要是OS X)的Matlab中恢复wfdb的说法 ,存在一个普遍的误解,这是自2015年6月/日以来出现的错误,票号#106 Observation is that if the wfdb system breaks (etc just initiate function with wrong parameters), you cannot use the folder again where the system was initiated. 可以观察到,如果wfdb系统中断(例如,仅使用错误的参数启动函数),则无法在启动系统的位置再次使用该文件夹。 I am thinking if the initiating commands of the system can be the source of the problem. 我在想系统的启动命令是否可能是问题的根源。 Commands 指令

[old_path]=which('rdsamp');if(~isempty(old_path)) rmpath(old_path(1:end-8)); end
wfdb_url='https://github.com/ikarosilva/wfdb-app-toolbox/raw/master/wfdb-app-toolbox-0-9-10.zip';
[filestr,status] = urlwrite(wfdb_url,'wfdb-app-toolbox-0-9-10.zip');%Octave users may have to download manually
unzip('wfdb-app-toolbox-0-9-10.zip');
cd mcode
addpath(pwd);savepath

These commands seem to be ok. 这些命令似乎还可以。 However, I am not sure how OS X interact with them. 但是,我不确定OS X如何与它们交互。 I am discussing the issue also in Github here about How to Delete wfdb Completely in a Directory? 我也讨论这个问题在Github上这里有关如何在目录彻底删除WFDB? and here about How to Restore wfdb Without Changing Directory in OS X? 此处有关如何在OS X中不更改目录的情况下还原wfdb?


How can the wfdb initiating commands differ between Linux and OS X? 在Linux和OS X之间,wfdb启动命令有何不同?

Yes. 是。 There are known bugs in the OS X package which do not have high priority for fixes. OS X程序包中有一些已知的错误,这些错误没有较高的修复优先级。 Use the package instead in Linux Debian. 在Linux Debian中改用软件包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM