Top 5% contributor
I (still) don't have an answer to this question - but possibly a hint which helps to create your own function:
I just managed...
Answered 3 years ago
The MathWorks support says this is a known problem of some ATI graphics devices. Updating the driver for the graphic device didn...
when I execute the following code
a = rand(5,5)
a(3,3) = NaN
Asked 3 years ago
Hi, I wonder whether there is a way to change the backgroundcolor of a figure's menubar and toolbar? Both seem to depend on ...
7 years ago
I'd like to find out the size (in pixels) of a maximized GUI figure on different monitors programmatically in order to rescale a...
Hi, I have a lot of pictures saved as png files which shall be inserted into a MS Word file. I have a template for the Word fi...
6 years ago
Hello, I would like to export some text data to Excel and tried using the MATLAB xlswrite function. This works except for one ...
5 years ago
I'm a quite experienced GUI programmer and usually program GUIs manually without using GUIDE. However, now I struggle...
Asked 2 years ago
By now, I found that defining the callback property in GUIDE to be
works. The variable hObject seems not to be k...
Answered 2 years ago
I'd like to have an additional Property 'RowEditable' similar to the property 'ColumnEditable'. Both properties should work at t...
I'm familiar with programming a uibuttongroup with radiobuttons manually using the SelectionChangeFcn of the uibuttongroup. Now ...
Hello, I need to get some axes objects with labels and tick labels which resize properly when the figure size changes. I tried ...
9 years ago
I have a Simulink model which also includes SimMechanics-blocks. I would like to change it into a referenced model using "Model ...
Thanks for your reply. This works indeed for MATLAB 7. However, at the moment I am still using MATLAB 6.5.1 and I am looking for...
10 years ago
Hi, I want to save the fields of a structure into a mat-file and wonder if there is a possibility to do it without using eval (...
10 years ago
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
8 months ago
Given a and b, return the sum a+b in c.
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
I want to read an Excel file giving me names and units of some data. There is quite a lot of units with "°" (symbol for degree) ...
Asked 6 months ago
I'd like to use the data cursor for pseudo color plots created with pcolor.
I wonder how the arrow keys work in this c...
Hi Patrick, I am not sure that I fully understand your problem. Just one idea: Have you checked if a try/catch- construct helps...
9 years ago
Hi, I have a GUI with several plots on it. The plots can have legends and colorbars. In order to print/export the plots seperatl...
8 years ago
Hi, I am testing an import tool for a binary file format which yields a structure with the contents of the file. There are diffe...
Thanks for your answers. I guess your solutions work fine in MATLAB 7. However, in MATLAB 6.5.1, strfind does dot work on cell a...
Hi, I have a cell vector of strings and want to know which of its elements contain a certain string. I am not interested in the...
Hi, I wonder whether there is a possibility to create a p-coded file from code which has never been saved as a m-file. I mean so...
Hi, I am working with MATLAB 6.5.1 I have a GUI containing a uicontrol of type listbox. I would like to excute a callback funk...
Hi, I want to use a listbox to let the user of my tool choose several items out of a list. However, the order in which he choos...
Join the conversation