PDA

View Full Version : function-name dotprod also used by NeuralNetwork toolbox


patrikanderss
September 14th, 2007, 04:52
Just had some problems with installing a matlab library. The problem turned out to be that a function called the dotprod function from the NeuralNetworks toolbox. However, since BrainStorm also has a function with this name, and is higher in my search-path, I ended up with problem.
In other words, be careful when having both BrainStorm and the NeuralNetwork toolbox installed.
In fact, in my opinion, it is not very wise to give a function such a general name
as 'dotprod'.

Patrik Andersson

Sylvain
September 21st, 2007, 10:53
Good point.

We'll be more careful in the future. One idea being letting all brainstorm function being prefixed by e.g. 'bst_'