Frage


How to make text in uicontrol object disappear when user starts typing?
I have a question about the following editable text box, f = figure; % Make example figure peaks; % Plot peaks data that...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to stop getting cursor position?
I have a function based on <http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples?focused=5147026&t...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Why do lines look blurry with linewidth 1 in R2017a?
I am using R2017a and when I plot lines with linewidth of 1, they appear blurry or pixelated, as in the screenshot below. How ca...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
How to apply "hold" to some but not all plot objects
Jan Simon's answer <https://www.mathworks.com/matlabcentral/answers/58402-delete-line-in-gui here> actually solved the problem, ...

etwa 9 Jahre vor | 1

Frage


How to apply "hold" to some but not all plot objects
Is there a way to apply "hold on" to some plot objects, but to apply "hold off" to other objects in the same plot? The examp...

etwa 9 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


How to make a shortcut to always "Run as Administrator"
I would like to change the default startup of Matlab to 'Run as Administrator', which is necessary for tasks like saving the pat...

etwa 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Unexpected number of function input arguments
I am confused by "extra" function inputs in the program <https://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-...

etwa 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Help understand: Passing a function handle to another function as an argument
Can you help me understand the following line in the program <https://www.mathworks.com/matlabcentral/fileexchange/24861-41-comp...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
debugging a callback function
There is info on debugging a GUI <http://blogs.mathworks.com/videos/2011/03/21/adding-a-debug-button-to-a-matlab-gui/ here>, bot...

etwa 9 Jahre vor | 0

Frage


Are you using Matlab in an Agile development environment?
I am a researcher using Matlab, which means I am partly a programmer and so could benefit from improving how I write, document, ...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Is UML the right tool to make logic flow diagrams of mfile?
I am looking for a tool similar to <https://code2flow.com/ code2flow> to make a logic flow diagram of a convoluted legacy mfile ...

etwa 9 Jahre vor | 0 Antworten | 1

0

Antworten

Beantwortet
How to stop legend from adding 'data1', 'data2' when additional data is plotted
It turns out that the undesired entries can be deleted using the 'String' property of the legend. Below lh is the legend handle ...

etwa 9 Jahre vor | 2

Frage


How to stop legend from adding 'data1', 'data2' when additional data is plotted
In 2017a, when I make some plots and add a legend, then add subsequent plots, the legend is updated with new unwanted entries ge...

etwa 9 Jahre vor | 2 Antworten | 3

2

Antworten

Beantwortet
Legend Button displays data1, data2, etc
You need to include strings in the legend command. % Plot some data figure; h1 = plot(rand(1,7), rand(1,7)); hold ...

etwa 9 Jahre vor | 0

Beantwortet
polar plot bar chart combo or something similar?
You might want to see <https://www.mathworks.com/matlabcentral/fileexchange/47248-wind-rose windRose> on the file exchange.

mehr als 9 Jahre vor | 1

Beantwortet
Polar Bar Plot Matlab (like Radar)
<https://www.mathworks.com/matlabcentral/fileexchange/47248-wind-rose Wind rose> is nice too (just ignore the fact that it is wr...

mehr als 9 Jahre vor | 0

Frage


Problem with editor search in R2016b
I switched to R2016b last month when I got a new Windows 10 Pro machine, and have noticed a problem with the editor search funct...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Diagrams from matlab code
You might be able to use <https://code2flow.com code2flow> though it is for different languages.

mehr als 9 Jahre vor | 0

Frage


How to specify the RGB color of each line in a waterfall plot?
Is there a way to specify the RGB color of each line in a <https://www.mathworks.com/help/matlab/ref/waterfall.html waterfall> p...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


What start time is assumed in Matlab's resample function?
When I use Matlab's resample function, what start time is assumed for the resampled time vector? All the plots and examples in t...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to add non-row-sized variable to table?
How can I add a variable to a table if the variable has a different length than the number of rows in the table? One reason to d...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


What colormap is used to generate ColorOrder?
What colormap is used to generate the default <https://www.mathworks.com/help/matlab/ref/axes-properties.html#prop_ColorOrder Co...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Matlab style: should table names be capitalized?
In <https://www.ee.columbia.edu/~marios/matlab/MatlabStyle1p5.pdf Elements of Matlab Style>, Richard Johnson recommends capitali...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Why does table creation produce error "VariableNames property must contain one name for each variable in the table"?
Just figured this out: have to use <https://www.mathworks.com/help/matlab/ref/array2table.html array2table>, T = array2tab...

mehr als 9 Jahre vor | 12

| akzeptiert

Frage


Why does table creation produce error "VariableNames property must contain one name for each variable in the table"?
Can you please revise the following line of code to eliminate the error "VariableNames property must contain one name for each v...

mehr als 9 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


Prevent MATLAB from creating empty mfile if it doesn't exist
I would like to turn off the following behavior: When I try to open a mfile that doesn't exist as far as MATLAB knows*, MATLAB c...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten