Community Profile

photo

CAM


Last seen: 1 dag ago Active since 2012

Statistics

All
  • Thankful Level 3
  • 3 Month Streak
  • Cody Challenge Master
  • Indexing I Master
  • Project Euler I
  • Knowledgeable Level 2
  • Revival Level 1
  • Introduction to MATLAB Master
  • Community Group Solver
  • First Answer
  • Tiles Challenge Master
  • CUP Challenge Master

View badges

Content Feed

View by

Question


stack command errors with multiple column variables of different data types
I have a table (imported from a poorly-designed spreadsheet) with repeated column variables I would like to stack. The fields a...

7 dagen ago | 0 answers | 0

0

answers

Question


Appdesigner uitable and uistyle
I created a uitable in appdesigner and populated it with data. I want to make the font in the 4th column blue and bold. I used...

meer dan een jaar ago | 1 answer | 1

1

answer

Answered
I want to merge more xlsx files in one xlsx file.
First thing: I personally would avoid using "i" as a counter, since it could also signify the imaginary number. Use "ii" instea...

meer dan 2 jaar ago | 0

Answered
How can I convert a vector in format cell to double?
cell2mat

meer dan 2 jaar ago | 0

Answered
Find max value with multiple conditions
Use logic statements for each criterion. Use logical "AND" (&) to see which elements meet all criteria. Find the max of thos...

meer dan 2 jaar ago | 0

Answered
Could someone tell me an easy way to plot graph when kk varies from 1 to 100?
Have you considered putting all emg data columns in a cell array, with the first cell containing the x-values? That way you onl...

meer dan 2 jaar ago | 1

Question


Simultaneous reading of mat file allowed?
I know it is bad to allow multiple users to write to a mat-file simultaneously (or one read while another is writing). But can ...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Answered
Cell array data to double conversion
Assuming each cell has only one entry, try using cellfun with str2double to convert the cell array of strings to a cell array of...

bijna 3 jaar ago | 0

| accepted

Answered
i keep getting an error in my code about my array. pls help . code and error below thank you
When you are concatenating horizontally, the number of rows must be consistent. According to your comment, all variables are 1x...

bijna 3 jaar ago | 0

Answered
Need for explication of this code
"i" starts with 1. M becomes [V(1:(1+3))] = [1:4] = [1 2 3 4]. "i" becomes 5 = (1+J) = (1+4). M adds a row with [5 6 7 8]. Et...

bijna 3 jaar ago | 1

| accepted

Answered
How to create a GUI with changing buttons?
Another possibility is to use the same set of buttons for both options, but assign associated properties (String label) within t...

bijna 3 jaar ago | 0

Answered
I can not modify data in a table
Have you considered using appdata instead of guidata? In this matlab answer (Appdata answer with link), there is a link to a gr...

bijna 3 jaar ago | 0

Answered
Script for deleting extra rows
Try this to remove rows with blank Depths: [~,~,dataIn] = xlsread(fileName, worksheetName); index = ~cellfun(@isempty, dataIn(...

bijna 3 jaar ago | 0

| accepted

Answered
Error with xlswrite (error 0x800A03EC)
Try xlsprotect from File Exchange. https://www.mathworks.com/matlabcentral/fileexchange/6046-xlsprotect It has worked well for...

bijna 3 jaar ago | 0

Answered
2019b installation problem
I had this same problem with 2018b and now again with 2019b. Last year, Matlab Support solved it with the following solution: ...

bijna 3 jaar ago | 21

Answered
impoly no longer animates the tracing line after placing other animated line objects
JK from the Matlab Support Team provided a solution. Before the origButtonMotionCB definition above, he suggested adding the fo...

bijna 3 jaar ago | 1

| accepted

Question


impoly no longer animates the tracing line after placing other animated line objects
Our users need to trace around a region on an image using impoly (closed = 0). In some cases they would like to start at a poin...

bijna 3 jaar ago | 1 answer | 0

1

answer

Answered
Trouble with impoly (open) misinterpreting mouse click
The users are running a compiled version of the application with Matlab runtime. I do not get the error on my development compu...

ongeveer 3 jaar ago | 0

Question


Trouble with impoly (open) misinterpreting mouse click
Our users need to find the area under a curve. We use impoly (open), and they trace the curve on an image. However they are ha...

ongeveer 3 jaar ago | 3 answers | 0

3

answers

Question


GUI (GUIDE) with images leaking memory
Matlab 2018b with GUIDE running on Win 7. I am programming a GUI that displays small image "thumbnails" from a directory in an ...

meer dan 3 jaar ago | 0 answers | 0

0

answers

Question


How do I use WinOnTop for GUIs?
I have a main GUI with an axes object on which I display an image. Occasionally, the users need to calibrate distances on the i...

meer dan 3 jaar ago | 1 answer | 0

1

answer

Answered
Radio button option group adding space to end of string property
Thank you for the quick reply, Walter. I will consider your cell-array tip in the future for a more robust GUI. Just before ...

meer dan 6 jaar ago | 0

| accepted

Question


Radio button option group adding space to end of string property
When I use findobj to search for a radio button in an option group based on each button's String property, I keep getting empty ...

meer dan 6 jaar ago | 2 answers | 0

2

answers

Question


Axes auto-zoom based on a given line
In an application, I plot one series of data and a number of vertical lines showing where certain "events" occur along the data ...

bijna 7 jaar ago | 1 answer | 0

1

answer

Answered
How to replace variable names in a mat file
Adam's answer is the correct algorithm. Additions: Use the fieldnames command to get a cell array of field names from the ...

meer dan 7 jaar ago | 1

Answered
how to get the data from edit box of GUI and use in other .m file
To supplement the above answer: Add str2num if it is a value, so you get the correct datatype. myVar = str2num(get(han...

meer dan 7 jaar ago | 0

Question


GUI: Text note scrolls outside axes limits
I have a an axes object within a GUI that displays digital on/off data. I have added a text note to each rising edge showing it...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Answered
How can I execute a double-click callback without executing the single-click callback in my MATLAB GUI?
I am disappointed that GUI's do not (apparently) support the double-click option in SelectionType. Why is there no disclaimer i...

meer dan 7 jaar ago | 0

Question


GUI: Get previous listbox value before change
In VBA, there is an object-action called BeforeUpdate, where you can run code before a value is permanently changed. For exampl...

meer dan 7 jaar ago | 0 answers | 1

0

answers

Question


GUI option to return no output
I am programming a GUI that waits (uiwait) for the user to select some points on an axes object. I have one pushbutton ("Accept...

bijna 8 jaar ago | 1 answer | 0

1

answer

Load more