Have a look at the manual; Chapter 4 on the structure of the ODEFILE, and how to add it in the GUI.
EEG is not a variable, but an expression, so remove that from the coordinates, and put it before the differential equations, not after. If you need the value of "EEG" then add it as a user function, or compute it afterwards.
The expressions (ZP to vf) should come before the differential equations. It is code, if you compute those intermediate quantities after you use them, who could tell what value they should have.
Dear Ram, The Graphical User Interface looks for a file "model.mat" with a particular structure including equations. These equations are then converted into a "model.m" file. If you supply only the ".m-file" then the interface does not know about it. However, you could still use MatCont in command-line mode as during the simulations and continuation that m-file is the necessary ingredient. Best regards, Hil
It's clear some people simply need and want this, even though from a plotting point of view it is slightly ambiguous as it concerns just a single value for the state (and max=min). This can be achieved through the following change: In file GUI\CLContOutputInterpreter.m Add the following lines 120,121 plotsel.declareItem('coordinates', coordinates{index}, 'Max', sprintf('max(%s)', coordinates{index}), @(x, h, f, s, ind, i)x(index, ind)); plotsel.declareItem('coordinates', coordinates{index}, 'Min',...
The error suggests you use the symbol x in your code but you do not give it a value. However, without the model specification we cannot be sure. Good luck debugging.
The tutorial also shows what to plot, and the documentation explains what these continuation variables mean.
Hmm... As the tutorials were fine for you, nothing seems strange. But without details to reproduce this error, it's too hard to see what's happening.