Skip to content

Commit

Permalink
added a check for global optim toolbox,
Browse files Browse the repository at this point in the history
updated links to other deps
  • Loading branch information
sg-s committed Nov 17, 2022
1 parent ed2e171 commit 19be450
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions examples/demo_xfit.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
% and optimize its maximal conductances so that it has a
% desired period

if license('test', 'global_optimization_toolbox') == 0
% can't do anything, we don't have the toolbox
return
end

% first, we create our xolotl object
x = xolotl.examples.neurons.BurstingNeuron('prefix','prinz');

Expand Down
6 changes: 3 additions & 3 deletions kapalin.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"external_code": [
"/Users/srinivas/code/cpplab/@cpplab",
"/Users/srinivas/code/puppeteer/@puppeteer",
"/Users/srinivas/code/srinivas.gs_mtools/+*",
"/Users/srinivas/code/srinivas.gs_mtools/@*",
"/Users/srinivas/code/srinivas.gs_mtools/*.m"
"/Users/srinivas/code/srinivas.gs_mtools/src/+*",
"/Users/srinivas/code/srinivas.gs_mtools/src/@*",
"/Users/srinivas/code/srinivas.gs_mtools/src/*.m"
]
}

Expand Down

0 comments on commit 19be450

Please sign in to comment.