Community Profile

photo

Jason


Last seen: 6 days ago
24 total contributions since 2011

Contact

Jason's Badges

  • First Review
  • Thankful Level 2

View details...

Contributions in
View by

Answered
Can one use uigetfile or other dialog prompt to create a file if it doesn't exist?
Ah, life makes sense again. Thank you.

3 years ago | 0

Question


Can one use uigetfile or other dialog prompt to create a file if it doesn't exist?
I'm coding a "Save As..." option in a GUI, and I'd like for the user to browse to a folder to save a .mat file of relevant varia...

3 years ago | 2 answers | 0

2

answers

Question


Can the output of 'whos' operating on a workspace be duplicated for a structure array?
Hi guys - I wrote a loop using 'whos' to filter out GUI figure elements when saving workspace variables so I'm not saving a ...

3 years ago | 1 answer | 0

1

answer

Question


How to pass a function workspace into a guidata handles structure in a GUI
Hi guys, I have a function called within a GUI structure callback built with GUIDE that produces a significant number of variabl...

3 years ago | 1 answer | 1

1

answer

Question


Temporal waveform reconstruction from spectral magnitude only
I have spectral data that represents magnitude in frequency space. I'd like to convert this data into the time domain to produce...

7 years ago | 1 answer | 0

1

answer

Question


How to use 'dir' to list files in another directory with a string
Guys - I have a variable that is a string describing a path (x = \\drive\folder1\folder2). How can I use 'dir' to create a l...

7 years ago | 1 answer | 0

1

answer

Question


Trouble loading GUI variables into handles
Guys - This one's driving me nuts. I want to save the state of my GUI with many pushbuttons and text windows so that when I ...

9 years ago | 2 answers | 0

2

answers

Answered
Avoid colorbar resizing image
For clarification, here is the code loop I use to generate i figures of 2 plots each: for i = 1:plotPCnum I = nu...

9 years ago | 0

Question


Mysterious GUI error messages
All you GUI experts - I have built a GUI using GUIDE to perform all the function layouts (it's all buttons and text entry wi...

9 years ago | 3 answers | 0

3

answers

Question


Avoid colorbar resizing image
Hi guys - How can I prevent an image from being resized when a colorbar is introduced? I am plotting two plots side by side,...

9 years ago | 4 answers | 1

4

answers

Answered
Plot title being placed and then erased, and subplots different sizes
Sorry Tom, that didn't work. As soon as subplot(1,2,1) is called, the firgure title disappears.

9 years ago | 0

Answered
Plot title being placed and then erased, and subplots different sizes
To clarify a bit I would like titlestr to be the plot title that is centered above the subplots and their titles.

9 years ago | 0

Question


Plot title being placed and then erased, and subplots different sizes
Hey folks - This one's a problem with a loop I wrote to plot a handful of figures, each with two subplots, and I can't seem ...

9 years ago | 3 answers | 0

3

answers

Answered
Specify popup menu location on screen
How about another way to accomplish the same thing, with some sort of uicontrol?

9 years ago | 0

| accepted

Question


Specify popup menu location on screen
OK, I know this is an easy one, but I can't seem to get the syntax right. I have a line of code in which a popup menu appears to...

9 years ago | 2 answers | 0

2

answers

Question


Plot an array greyscale but certain pixels marked in red
I have an MxN array of integers that makes an image that can be plotted with imagesc. I'd like to plot the whole image with grey...

9 years ago | 1 answer | 0

1

answer

Answered
Save and load all GUIDE GUI variables
Thanks everybody! Great advice.

9 years ago | 0

Question


Save and load all GUIDE GUI variables
Guys - I built a GUI in GUIDE that's basically a bunch of text edit windows and pushbuttons to call different operations. I'...

9 years ago | 4 answers | 0

4

answers

Answered
Using uiimport and subsequent coded commands
Simple but effective. Thanks Lucas!

9 years ago | 0

Question


Using uiimport and subsequent coded commands
Hi guys - I call uiimport in a GUI to import data, and in the GUI after that call I have some commands that operate on data ...

9 years ago | 4 answers | 0

4

answers

Question


Save base workspace MAT file from GUI
Guys - I'm writing a GUI in which I'd like to put a pushbutton to save the entire base workspace to a .mat file. Problem is ...

9 years ago | 2 answers | 0

2

answers

Answered
Error using rmdir
Thanks everybody, the rehash suggestion appears to have done the trick.

9 years ago | 0

Answered
Error using rmdir
Well, in my code I call rmdir first, then mkdir immediately after that. mkdir reports an error because the directory does alread...

9 years ago | 0

Question


Error using rmdir
Guys - I'm writing a GUI in which I create a directory with the following code: SessionName = get(handles.SessionName,'Stri...

9 years ago | 7 answers | 0

7

answers