Questions tagged [handles]

175 questions
0
votes
1 answer

How do I access controls on my GUIDE figure from other functions?

I am using GUIDE to create a GUI for my MATLAB project. In one of my callbacks for a button, I call a function. [Name]= otherFunction(inputVariable); set(handles.name,'String',Name); After I receive the output from that function, I set the name…
Kyle Uithoven
  • 2,414
  • 5
  • 30
  • 43
0
votes
1 answer

Functions handles in matlab

i've a problem to understand this snippet of code output=lsqnonlin(@(argn) fun(arg1,arg2,argn),X0); My idea is that lsqnonlin will call the argn->fun function recursively,but i'm not sure. is it right?
RobCos
  • 113
  • 10
0
votes
1 answer

Creating array handles for function that returns vector of polynomial expressions

I am trying to use the numerical integration function 'integral' I created a function of four polynomial functions [x; x^2; x^3; x^4] now I want to integrate this vector row by row using the integral function. I tried making a function handle for…
0
votes
1 answer

OpeningFcn Matlab GUIDE - initialising handles and calling function in correct order

I'm working on a project where I use a Matlab GUI to switch between audio outputs real-time on button press. I have a Matlab GUIDE file and a function using the Audio System Toolbox that listens to GUI-actions. The GUIDE file has an OpeningFcn…
matiastofteby
  • 431
  • 4
  • 18
0
votes
0 answers

jquery ui slider with two handles returns wrong index of handle

I am using the jquery-ui slider with 2 handles. But when I move the right handle on top of the left handle and after that, grab the top handle, the bottom one is selected. This error also occur when I move one handle in the vertical axis. …
q-jack
  • 366
  • 2
  • 3
  • 17
0
votes
1 answer

"Error Creating Window Handle" while creating multiple forms

I am creating a few windows forms with many controls on it asynchronously (each on a thread created with a sole purpose to open that form). for(var i = 0; i < 10; i++) { var thread = new Thread(() => { var form = new FormX(); …
Andrius Naruševičius
  • 8,348
  • 7
  • 49
  • 78
0
votes
0 answers

Transmit data between subfunctions in GUIDE

I have a simple GUIDE with 2 pushbuttons. Button #1 plots a sine graph and button #2 adds a "draggable" vertical line to the graph. Idea is based on the link bellow 1 I'm using guidata to transfer data between subfunctions and callbacks in the…
Alborz
  • 19
  • 6
0
votes
1 answer

Indexing PDF - Faceted Search with Apache Solr and Apache Tika

Two weeks ago I'm having trouble finding the Internet a way for my solution. I need to integrate a web application with Apache Solr and Apache tika, to be made faceted search PDF's that are in the database of the system. The configuration of solr…
0
votes
1 answer

checkedlistbox vb.net event to check if selected

If I have a checkedlistbox with items (apple, carrot, frog) and a button that will only be enabled when at least one item is selected from the checkedlistbox, which event do I use? where 'ListofURLFromDB_Listbox' is the checkedlistbox and…
0
votes
1 answer

Reference to non-existent field error when showing database data to editbox in gui matlab

% Begin initialization code - DO NOT EDIT gui_Singleton = 1; gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn',…
0
votes
1 answer

A variable in the 'handles' structure of the MATLAB GUI automatically becomes zero in a pushbutton callback

%*********************************************************************% % Name of the GUI is 'dummy' …
0
votes
2 answers

Sorting the handles and labels in python legend, based on part of the label strings

I've plotted some data on a chart in python and then used handles, labels = ax0_1.get_legend_handles_labels() to get the labels and handles. The labels I get are ordered like this: A1 01-01-01 01 ABC A1 01-01-01 01 ABCD A1 01-01-01 01 ABCDE A1…
alfavictor
  • 63
  • 9
0
votes
1 answer

Get handles as a number in order to apply function and operate mathematicaly

The program asks for input in gui editbox as a value, then it takes this value and applies the equation to get the pressure. I haven't been able to do so and I heard from some classmates that matlab takes the input as a string and doesn't operate…
0
votes
1 answer

VB.Net Handles button click event in code behind

Having an issue with my button click event. I needed to add this button from one page to another so naturally it was copied and variables changed out within the click event method to match the new page. in the HTML side I added the button there…
ggiaquin16
  • 165
  • 1
  • 15
0
votes
0 answers

Store handles in array

I have an assignment on MATLAB and have this problem where I have an array: plot_handles = [] and should store different plot handles there. A main function called 'mainMeny' creates this plot_handles = [] then calls another function plot_handles =…
augusti
  • 401
  • 3
  • 6
  • 16