Community Profile

photo

Geoff Hayes


Last seen: 2 dagen ago
2.790 total contributions since 2014

Professional Interests: Software Engineering, Target Tracking, Video Streaming apps

Geoff Hayes's Badges

  • First Review
  • 36 Month Streak
  • Thankful Level 1
  • Ace
  • Revival Level 2
  • Knowledgeable Level 4
  • First Answer
  • Scavenger Finisher
  • Promoter
  • Solver

View details...

Contributions in
View by

Answered
How to continue a plot in app designer with a push button?
Davide - rather than waiting and resuming, since all subsequent updates to the axes occur with the press of a button, just put a...

2 dagen ago | 0

Answered
Loading files from the folder
hamzah - could you use uigetfile and allow the user to select the files that they are interested in? [file,path] = uigetfile('*...

2 dagen ago | 0

| accepted

Answered
How to solve this error presented when compiling .cpp files to mex?
Farouk - from mxGetDimensions (C and Fortran), the signature for this function is const mwSize *mxGetDimensions(const mxArray *...

2 dagen ago | 0

Answered
Matlab Gui - Adquire Video
Sérgio - I suspect the problem might be with your while loop that is preventing the disconnect_Callback from being processed. Yo...

6 dagen ago | 0

| accepted

Answered
How do I Ctrl-R on Mac?
Katy - on my version of MATLAB (on a Mac), I can comment a block of code with Cmd /. (Note that Cmd T uncomments the block of co...

10 dagen ago | 0

| accepted

Answered
Showing more than one image in a GUIDE gui
Douglas - perhaps try imshow(logo_file_name, 'Parent', handles.axes3); where you include the Parent name for the axes value.

10 dagen ago | 0

| accepted

Answered
Error in saveas, Invalid figure handle
Daphne - from saveas, the first input parameter is a handle to the figure. You've named this fig in your code, but it seems to b...

10 dagen ago | 0

Answered
Redefine variable in function file in script loop
Amie - you could try nesting your Problem2a function within your main code (note that you would need to change your script to a ...

10 dagen ago | 0

Answered
How can I get 3D continuous plot of real time data ?
Aradhya - everytime you call plot3 you are creating a new plot (graphics) object and the previous one is deleted. Perhaps that i...

16 dagen ago | 1

| accepted

Answered
Converting cell array to matrix
Tham - check your for loop i = length(code); for n = 1:i [~,index] = ismember(code(i), morse) letter(i) = str_letter...

18 dagen ago | 0

| accepted

Answered
problem with code for arduino voltage reading
Muhammad - the problem is with this line of code a = gca; where you overwrite the arduino assigned variable with the current a...

24 dagen ago | 0

| accepted

Answered
How can I get the result from uibuttongroup to slider?
Ploy - you haven't indicated what your error is, though it may have to do with y = get(handles.uibuttongroup1, 'Value'); iml...

ongeveer een maand ago | 0

Answered
push button callback error
Siti - it looks like you are using GUIDE for your GUI and, for your callback, the comments indicate that there should be three i...

ongeveer een maand ago | 0

Answered
Code Clarification on If statements
Julia - all this code if PromptMessage == 1 Choice2 = PlayerOption(1); elseif PromptMessage == 2 Choice2 = PlayerOpt...

ongeveer een maand ago | 0

| accepted

Answered
Using Function to test height allowed on ride
Payton - where in your function, do you assign the result to ans function [ans] = ride(height) if (height<48) height = 'no...

ongeveer 2 maanden ago | 1

| accepted

Answered
Element-wise Conditional Statements in Script
Zachary - you seem to be missing an end in your code. Perhaps try for j=1:3 Qr(j) for i=1:50 if Pc(i,j)>=P0(...

ongeveer 2 maanden ago | 0

Answered
How can i express many bezier curve in one figure?
Jin - you call figure;hold on; grid on; three times and so create three figures. If you just want all the plots on a single fi...

4 maanden ago | 0

Answered
Why it is showing error?
Kartikey - similar to one of your other questions, there is a special character at the line where you are doing the assignment. ...

4 maanden ago | 0

Answered
Why it is showing error?
Kartikey - there appears to be a hidden character at your line 70 which is the "blank" line in ​ % Numerals listings. elseif ...

4 maanden ago | 0

Answered
marking some points.
Silpa - you could try something like A=[0.8570, 1.0447 , 1.2136 , 1.3637 , 1.4670 , 1.4576 , 1.3731 , 0.9696 , 0...

4 maanden ago | 0

| accepted

Answered
Problem working with 2 popupmenus
John - have you writtin your GUI with GUIDE, App Designer, or programmatically? The solution may be similar for each: in the pus...

5 maanden ago | 0

| accepted

Answered
Pushback button execution in a while loop
Ram - in the body of your add_measure_ButtonDownFcn you do handles.add_meas=1; guidata(hObject, handles); where you initializ...

5 maanden ago | 0

Answered
getting error using code for continuing input on new line
Muazma - you are trying to vertically concatenate strings that are of different lengths and so the error message makes sense. Tr...

5 maanden ago | 0

Answered
Creating border of an image
Mayank - is you have a colour image, then you could do something like myImage = uint8(randi(255,256,256,3)); border = 2; myIm...

5 maanden ago | 0

| accepted

Answered
I need to locate an installed program in MacOS using Matlab, how can I do that?
Mårten - you could try something like [status, path] = system('find ~/Documents/geoff -name myFile.m') The above would search ...

5 maanden ago | 0

| accepted

Answered
Error using mex complier
Jaimeet - it seems that you are using the -I to indicate where the libraries should be found. Unless MATLAB does things differ...

5 maanden ago | 0

Answered
Mouse Click callback on an image - temporarily disable
Jason - why not just remove the original callback just prior to wanting to draw the lines set(imageHandle,'ButtonDownFcn',[]); ...

6 maanden ago | 0

| accepted

Answered
how to assign a callback located in a array of string (in uicontrol) ? ex uicontrol('callback',array(1))
Fabienne - I think that you may want to create an array of function handles rather than an array of (string) function names. For...

6 maanden ago | 0

Answered
Scatter plot undefined variable
Jackie - is the MATLAB code that you have posted above from the built-in MATLAB scatter function? Or is it something hat you hav...

6 maanden ago | 0

| accepted

Answered
Data Acquisition in GUI
Bohan - see your other question https://www.mathworks.com/matlabcentral/answers/475625-daq-cannot-generate-signal-in-gui-callbac...

6 maanden ago | 0

Load more