help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reg error in vector operation


From: Søren Hauberg
Subject: Re: reg error in vector operation
Date: Thu, 21 Jun 2007 09:34:08 +0200
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

I think the error message is pretty clear. You are trying to evaluate
  k - spice_readfile(...)
that is
  "k minus spice_readfile(...)"
So if you don't have a variable named "k" your code will fail. This is what the error message tells you...

Perhaps you meant to type
  k = spice_readfile(...)
?

Søren

lokesh rajendran skrev:
dear all,
the following is the error i get ,when running the command
octave:1> k-spice_readfile("rawspice.raw");
but i get the error as specified below:
error: `k' undefined near line 1 column 1
error: evaluating binary operator `-' near line 1, column 2

what i intend to do is
The plot contained in file "rawspice.raw" is put into the *k* vector and an output has to be generated in the following fashion:
s = {
commands = {} date = Mon Sep 12 14:32:22 2005
dimensions = 0
 no_points = 0
no_variables = 0
options = {} plotname = Transient Analysis
title = * simulation de RC2
}

plz do help me.
thanking you,
lokesh rajendran.


------------------------------------------------------------------------

_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave


reply via email to

[Prev in Thread] Current Thread [Next in Thread]