bugGNU Octave - Bugs: bug #44282, 'gui_mainfcn' undefined


bug #44282: 'gui_mainfcn' undefined

Submitted by:  Austin English <austin987>
Submitted on:  Tue 17 Feb 2015 03:47:27 AM UTC  
Category: GUISeverity: 3 - Normal
Priority: 1 - LaterItem Group: Feature Request
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)

You are not logged in

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


Fri 26 May 2017 07:28:18 PM UTC, comment #2:

Duplicating the GUI generator would be a huge task.
Allowing Matlab-generated GUI code to run should be less so.
GUI programs are very useful in providing interactive control of models and presentations.

Morris Maynard <mozzis>
Tue 17 Feb 2015 03:44:21 PM UTC, comment #1:

This function is apparently something that is used by GUIDE-generated GUIs. I'm marking this as a feature request with a low priority. Unless someone wants to take on the enormous task of providing GUIDE-like functionality for Octave, I think it is highly unlikely that it will be implemented any time soon.

John W. Eaton <jwe>
Project Administrator
Tue 17 Feb 2015 03:47:27 AM UTC, original submission:


error: 'gui_mainfcn' undefined near line 42 column 5
error: called from:
error: /home/austin/matlab/DATMeT.m at line 42, column 5


trying to run a matlab project, the code snippet:
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
gui_mainfcn(gui_State, varargin{:});

There are various reports online about this affecting others, e.g., http://octave.1599824.n4.nabble.com/gui-mainfcn-not-defined-error-td4647545.html, but I couldn't find a bug report for it.

I also checked out the source from mercurial, which also has the same issue.

Austin English <austin987>


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

Attach File(s):

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 mozzis (Posted a comment)
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by austin987 (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 25 Nov 2015 12:09:22 AM UTCrik5StatusNone=>Confirmed
    Tue 17 Feb 2015 03:44:21 PM UTCjwePriority5 - Normal=>1 - Later
      Item GroupMatlab Compatibility=>Feature Request
      Operating SystemGNU/Linux=>Any

    Back to the top

    Powered by Savane 3.1-cleanup1