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:  GUI Severity:  3 - Normal
Priority:  1 - Later Item Group:  Feature Request
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating 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 Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by gyom
  • -email is unavailable- added by mozzis (Posted a comment)
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by austin987 (Submitted the item)

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

    Only project members can vote.




    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-20 gyom Carbon-Copy- => Added gyom
    2015-11-25 rik5 StatusNone => Confirmed
    2015-02-17 jwe Priority5 - Normal => 1 - Later
        Item GroupMatlab Compatibility => Feature Request
        Release3.8.2 => dev
        Operating SystemGNU/Linux => Any

    Back to the top

    Powered by Savane 3.5