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

Scripts to package for Octave-Forge #1

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
EKF/UKF Toolbox for Matlab
EKF/UKF Toolbox for Matlab and GNU Octave
==

[Simo Särkkä](http://users.aalto.fi/~ssarkka/), Jouni Hartikainen, and [Arno Solin](http://arno.solin.fi)
Expand All @@ -14,7 +14,26 @@ Most of the code has been written by Prof. Simo Särkkä. Later Dr. Jouni Hartik
Download and Installation Guide
--

The software consists of Matlab m-files. Clone or download the latest version and make sure the toolbox directory is included in your Matlab path by `addpath` *path to ekfukf*.
Matlab
---

The software consists of Matlab m-files.
Clone or download the latest version and make sure the toolbox directory is included in
your Matlab path by `addpath` *path to ekfukf*.

GNU Octave
---

1. Run the following command

make dist

This will create a file `ekfukf-<version>.tar.gz`

2. Install the package.
Start octave and run

pkg install ekfukf-<version>.tar.gz


Documentation
Expand Down Expand Up @@ -61,4 +80,4 @@ Demonstration programs for multiple model systems:

License
--
This software is distributed under the GNU General Public License (version 2 or later); please refer to the file `LICENSE.txt`, included with the software, for details.
This software is distributed under the GNU General Public License (version 2 or later); please refer to the file `LICENSE.txt`, included with the software, for details.
2 changes: 1 addition & 1 deletion demos/eimm_demo/botm_demo.m
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
% Generate object state values
for i = 2:n
st = mstate(i);
if isstr(a_func{st}) | strcmp(class(a_func{st}),'function_handle')
if ischar(a_func{st}) | strcmp(class(a_func{st}),'function_handle')
X_r(ind{st},i) = feval(a_func{st},X_r(ind{st},i-1),a_param{st});
else
X_r(ind{st},i) = A{st}*X_r(ind{st},i-1);
Expand Down
2 changes: 1 addition & 1 deletion demos/eimm_demo/ct_demo.m
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
% Generate object state values
for i = 2:n
st = mstate(i);
if isstr(a_func{st}) | strcmp(class(a_func{st}),'function_handle')
if ischar(a_func{st}) | strcmp(class(a_func{st}),'function_handle')
X_r(ind{st},i) = feval(a_func{st},X_r(ind{st},i-1),a_param{st});
else
X_r(ind{st},i) = A{st}*X_r(ind{st},i-1);
Expand Down
Loading