mcdougallab / matlabneuroninterface

Interface for connecting NEURON and MATLAB
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Disable MATLAB's built-in soma function #52

Closed edovanveen closed 1 year ago

edovanveen commented 1 year ago

Can we disable MATLAB's built-in soma function? If a Segment is named soma this can lead to very strange behaviour, such as a popup window with colourful squares.

edovanveen commented 1 year ago

Apparently it is a MATLAB easter egg! See https://en.wikibooks.org/wiki/MATLAB_Programming/Bonus_Chapters/MATLAB_Easter_Eggs

ramcdougal commented 1 year ago

This is inconvenient since every (real) neuron has a soma.

AljenU commented 1 year ago

https://nl.mathworks.com/help/matlab/matlab_prog/function-precedence-order.html

ramcdougal commented 1 year ago

Based on @AljenU 's link, can we close this as not-a-problem since if we define something to be called a soma, it'll do the right thing?