Economics should be open

July 28, 2009

octave error “error: invalid call to script”

Filed under: Uncategorized — howardchong @ 11:18 pm

I am new to Octave. I am using Octave 3.0 on windows (with octave-forge) and trying to call a script and get the following error:

“error: invalid call to script”

The fix?

I was trying to run hello1.m by typing

hello1.m

but I need to take the .m off and type

hello1

This error may also come up for different reasons, but this was my reason.

11 Comments »

  1. This was really helpful!
    Thanks!

    Comment by dsinigaglia — August 5, 2010 @ 10:35 pm

  2. Thank you – I was also helped by this!

    Comment by kaberett — June 17, 2011 @ 12:27 am

  3. Very helpful ! Thanks

    Comment by Vivek — October 19, 2011 @ 6:03 pm

  4. helpful for me too!!

    Comment by guest — October 23, 2011 @ 4:26 pm

  5. Many thanks!!!!

    Comment by Rallou — November 5, 2011 @ 2:53 pm

  6. Guh, I got this after updating octave. Thanks for posting this.

    Comment by Eric — November 22, 2011 @ 3:34 pm

  7. Haha, thank you!

    Comment by Joshua Smith — March 14, 2012 @ 3:38 pm

  8. Thank you! It helped me – thank you thank you thank you!

    Comment by Oleg — May 27, 2012 @ 9:58 pm

  9. Spot on with this write-up, I actually feel this website needs a great deal more attention.
    I’ll probably be back again to read more, thanks for the info!

    Comment by contact process — January 11, 2013 @ 8:56 am

  10. THANKS!, thats what i was lookin for!
    😀

    Comment by xamiax — January 22, 2013 @ 4:06 pm

  11. Wow…simple solution! Thank you so much!

    Comment by Rodrigo — February 1, 2013 @ 6:15 am


RSS feed for comments on this post. TrackBack URI

Leave a reply to Joshua Smith Cancel reply

Blog at WordPress.com.