Logo Search packages:      
Sourcecode: octave-ocs version File versions  Download package

Mcapacitors.m

function [a,b,c] =...
      Mcapacitors(string,parameters,parameternames,extvar,intvar,t)
  
  ## Mcapacitors(string,parameters,parameternames,extvar,intvar,t)

if isempty(intvar)
      intvar = 0;
end

  switch string 
      
    case "LIN"
      for ii=1:length(parameternames)
      eval([parameternames{ii} "=" num2str(parameters(ii)) ";"])  
      end
      
      q = intvar(1);
      
      a = ;
      b = ;
      c = ';
      break
    otherwise
      error (["unknown section:" string])
  end

Generated by  Doxygen 1.6.0   Back to index