Open a function as GUI

how can I open the application as a GUI, calling the function works only as a function and does not open any window like imtool

5 Comments

Rik
Rik on 25 Dec 2018
The help states that you can open it as a GUI by calling it without any inputs. Does that return any errors?
When typing: circlefinder
Error using circlefinder (line 45)
Not enough input arguments.
Image Analyst
Image Analyst on 25 Dec 2018
Edited: Image Analyst on 25 Dec 2018
Why did you not pass in the required input arguments? It wants some. Though we don't know what since you forgot to attach the m-file.
Regardless, try this link (guaranteed to fix it).
If for some reason, that doesn't work, read this link and get back to us with the file and what input arguments you supplied to the function.
By the way, you didn't simply just click the green run triangle, did you? That won't pass in any input arguments. You need to pass them in when you type the function on the command line, or when you call the function from your script or other function.
Or even worse, double click the .fig file in the current folder panel.
Rik
Rik on 25 Dec 2018
The code on the FEX (link from question) indicates that it should work to call this function without inputs. So I suspect you have edited the m-file (not having actually tested the files on the FEX). Can you confirm you are actually using the latest version of the code on the FEX?
Hold on a second: the linked contribution is circleFinder but circlefinder is being invoked.

Sign in to comment.

Answers (0)

Categories

Find more on App Building in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!