bugGNU Octave - Bugs: bug #45132, Funktion erzeugt Fehlermeldung vom...

 
 

bug #45132: Funktion erzeugt Fehlermeldung vom Editor aus, läuft fehlerfrei im Befehlsfenster

Submitted by:  None
Submitted on:  Mon 18 May 2015 03:07:42 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: InvalidAssigned to: None
Originator Name: Jörg RauhOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.2
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 31 May 2015 04:24:21 PM UTC, comment #2:

No response from reporter, closing as invalid. I think Andy's supposition is right.

Or if there's some way this could be better described or presented to the user so this is clearer, feel free to reopen or suggest documentation or GUI improvements.

Mike Miller <mtmiller>
Project Administrator
Mon 18 May 2015 04:14:11 PM UTC, comment #1:

This sound like you've saved your code as agm.m.
If you hit the "run" button then "agm", without arguments gets executed.

Please try to save your code as myscript.m and "run" again.

Btw: Use a = zeros (1, 11), instead a=[0,0,0,0,0,0,0,0,0,0,0];
And if you want to use a and b inside your function they have to be made global.

Andreas Weber <andy1978>
Project Member
Mon 18 May 2015 03:07:42 PM UTC, original submission:

Dear Supporter,

Thank you for the good work you are doing!
As I am trying to understand the usage of
octave, I am working through some small
subroutines first.
If started in the commands window, it'll
work like a charm.
Yet, if in the editor window, pressing save
and execute creates an error message, saying
that one of the function parameters, when stored
into another variable, is not defined.
I don't get it.
With the given error message, I don't
know what I have to do so that my routine
is accepted and executed from the editor
window.

Best regards

Jörg

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by andy1978 (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 31 May 2015 04:24:21 PM UTCmtmillerCategoryNone=>GUI
      StatusNone=>Invalid
      Open/ClosedOpen=>Closed
      Operating SystemMicrosoft Windows=>Any

    Back to the top


    Powered by Savane 3.1-cleanup1