help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Persistent issue installing the `fuzzy-logic-toolkit-0.4.5`


From: Andreas Weber
Subject: Re: Persistent issue installing the `fuzzy-logic-toolkit-0.4.5`
Date: Sat, 13 Feb 2021 06:57:30 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

Am 13.02.21 um 00:24 schrieb seamusdemora:
My system is Linux Ubuntu 20.04, GNU Octave, version 5.2.0

I've tried this multiple times, in multiple ways, but the result is always
the same:
...
pkg install -forge fuzzy-logic-toolkit
parse error near line 165 of file
/home/seamus/octave/fuzzy-logic-toolkit-0.4.5/defuzz.m

   anonymous function bodies must be single expressions

   y_val = @(y_val) if (y_val == max_y) 1 else 0 endif;

Looks like this was fixed in 2018 but never released:
https://sourceforge.net/p/octave/fuzzy-logic-toolkit/ci/00e05af94b3762d2e051ad28fb436da089160f40/

You can clone and build it yourself:
$ hg clone http://hg.code.sf.net/p/octave/fuzzy-logic-toolkit octave-fuzzy-logic-toolkit
$ make dist

in GNU Octave: "pkg install target/fuzzy-logic-toolkit-0.4.5.tar.gz"

-- Andy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]