Open febedtu opened 2 years ago
contains is a function that needs a newer version of matlab
On Mon, 11 Apr 2022 at 14:11, febedtu @.***> wrote:
Hi,
I have used older cobra toolbox versions fine for a while. However, after installing the latest version of cobra toolbox, following instructions ( https://opencobra.github.io/cobratoolbox/latest/installation.html) with Matlab 2015b, initCobraToolbox reports the following:
Checking if git is installed ... Done (version: 2.32.0). Checking if the repository is tracked using git ... Done. Checking if curl is installed ... Done. Checking if remote can be reached ... Done. Initializing and updating submodules (this may take a while)...Undefined function 'contains' for input arguments of type 'char'.
Error in initCobraToolbox (line 212) if contains(result_gitSubmodule,'modified') || contains(result_gitSubmodule,'Untracked files')
Any idea what might cause this error?
— Reply to this email directly, view it on GitHub https://github.com/opencobra/cobratoolbox/issues/1975, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQMEOT4L5XUGZU5W3GF433VEQQGDANCNFSM5TDESM3A . You are receiving this because you are subscribed to this thread.Message ID: @.***>
(This message is confidential and may contain privileged information. It is intended for the named recipient only. If you receive it in error please notify me and permanently delete the original message and any copies.)
Alright, so there is no support for Matlab2015b? The documentation indicates support for >Matlab2014b.
Is there support for Matlab2015b / a workaround for this issue, or did I misunderstand the documentation?
Hi, feel free to contribute a PR with a workaround. Regards, Ronan
On Tue, 19 Apr 2022 at 10:17, febedtu @.***> wrote:
Is there support for Matlab2015b / a workaround for this issue, or did I misunderstand the documentation?
— Reply to this email directly, view it on GitHub https://github.com/opencobra/cobratoolbox/issues/1975#issuecomment-1102364883, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQMEOQPOKLIVVIVQABASHLVFZ2Z3ANCNFSM5TDESM3A . You are receiving this because you commented.Message ID: @.***>
(This message is confidential and may contain privileged information. It is intended for the named recipient only. If you receive it in error please notify me and permanently delete the original message and any copies.)
What is a PR? So there is no support for Matlab2015b? Which versions of Matlab are supported by COBRA Toolbox?
PR = pull request https://opencobra.github.io/cobratoolbox/latest/contributing.html
https://uk.mathworks.com/help/matlab/ref/contains.html was Introduced in R2016b
On Wed, 20 Apr 2022 at 07:54, bigsuicideparty @.***> wrote:
What is a PR? So there is no support for Matlab2015b? Which versions of Matlab are supported COBRA Toolbox?
— Reply to this email directly, view it on GitHub https://github.com/opencobra/cobratoolbox/issues/1975#issuecomment-1103535076, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQMEOSFYAMG7ZYEQFLQF53VF6S2VANCNFSM5TDESM3A . You are receiving this because you commented.Message ID: @.***>
(This message is confidential and may contain privileged information. It is intended for the named recipient only. If you receive it in error please notify me and permanently delete the original message and any copies.)
Hi,
I have used older cobra toolbox versions fine for a while. However, after installing the latest version of cobra toolbox, following instructions (https://opencobra.github.io/cobratoolbox/latest/installation.html) with Matlab 2015b, initCobraToolbox reports the following:
Any idea what might cause this error?