Answered
HOW TO PLOT MULTIPLE LINE GRAPH
hassan - see <https://www.mathworks.com/help/matlab/ref/xlabel.html xlabel> and <https://www.mathworks.com/help/matlab/ref/ylabe...

10 years ago | 0

| accepted

Answered
How can I creat a flag with 200 * 300 * 3 dimension?
Dereje - start by creating your 200x300x3 array as myFlag = zeros(200,300,3,'uint8'); Now assign that portion of the flag...

10 years ago | 1

| accepted

Answered
how to automatically click a pushbutton continously
Prasanna - if you want to periodically perform an action, then use a <https://www.mathworks.com/help/matlab/ref/timer-class.html...

10 years ago | 0

| accepted

Answered
getting data types of table
Callum - <https://www.mathworks.com/help/matlab/ref/class.html class> allows you to determine the class or data type of an objec...

10 years ago | 5

Answered
How can i extract the first frame of a video and save it as an image?
abbxucy11 - if we assume that *handles.FilePath* and *handles.FileName* are valid, then use <http://www.mathworks.com/help/matla...

10 years ago | 0

Answered
Inserting fields into an empty structure
This error occurs because you have explicitly created an empty _structure_ and are then trying to assign a field to this structu...

10 years ago | 0

Answered
>> VideoReader Error using VideoReader (line 160) FILENAME must be specified.
I get the same error message if I simply call *VideoReader* from the command line as >> VideoReader Error using VideoRea...

10 years ago | 0

| accepted

Answered
How I can save workspace variables to an excel file, storing them coloumn by coloumn with their respective name in the first row?
eugenio - your code seems to be writing text data to a file that has an Excel extension, but this doesn't mean that you are crea...

10 years ago | 2

| accepted

Answered
How to update values from a GUI's pushbutton in a while LOOP(actual code question)
Ryan - I suspect the problem is because your *while* loop is is not interruptible and so any change that you make in the GUI (pr...

10 years ago | 1

Answered
print an array to .txt
Vadim - try using <https://www.mathworks.com/help/matlab/ref/fprintf.html fprintf>. For example, % open your file for writi...

10 years ago | 3

| accepted

Answered
How would I get the part to get the song to play backwards working correctly? How would I add a fade to the end of the song? and how would I get the program to ask all these questions and then play one song instead of one for each question? THANKS!!
Brandon - delay calling *sound* (more on this later) until you have modified the *song* that you wish to play. For example, if ...

10 years ago | 0

| accepted

Answered
How would I make my song have a diminuendo (a fade out over the last two bars)? This is what I have so far for this portion, but I can't get it to work. Thank you very much for your help in advance, it is greatly appreciated!
Brandon - I'm not sure what units you are using for your *SetBarLength* but presumably you want to fade the last setRate*(2*...

10 years ago | 0

| accepted

Answered
How I can eliminate days with incomplete hours?
Miguel - depending upon your version of MATLAB, you could use <http://www.mathworks.com/help/matlab/ref/hist.html hist> or <http...

10 years ago | 0

Answered
Format Number in Edit Text Box
Alex - try using <http://www.mathworks.com/help/matlab/ref/sprintf.html sprintf> to format your data. For example, set(hand...

10 years ago | 1

| accepted

Answered
matlab web browser position and/or screenshot
Emanuele - you can try the following which may be applicable to your version of MATLAB. For R2014a on OS X 10.11.6, you can use...

10 years ago | 0

Answered
How to combine multiple noise type using checkbox. for example double noise and triple noise and apply it to the image when click the checkbox
amira - I would create one function that all of your checkbox callbacks would call whenever the checkbox is checked or unchecke...

10 years ago | 1

| accepted

Answered
How to plot ScopeData from Simulink into GUI
Joe - since the *ScopeData1* is in the base workspace, then you would need to use *evalin* from within your GUI to grab this dat...

10 years ago | 0

| accepted

Answered
How to input pi
Anthony - use pi which returns the floating-point number nearest the value of π. So in your code, you could do something like ...

10 years ago | 11

| accepted

Answered
Creating a microphone GUI
Austin - I suspect that the audio is being played but then terminated immediately when the *playback_Callback* returns. You coul...

10 years ago | 0

Answered
Formatting Subplots in MATLAB
Try manipulating the position of the second subplot. For example, you can get the current position value of the second subplot ...

10 years ago | 0

Answered
problem with size of images
Efstathios - you are saving a figure to a file (rather than an image) and so I think that it is reasonable that *C* is of a diff...

10 years ago | 0

Answered
recall a figure in guide
maria - if you want to reference the image that was loaded through the first push button, then save it to the *handles* object. ...

10 years ago | 0

| accepted

Answered
How can I avoid calling Arduino all the times in a timer function?
Elena - store the Arduino object in the *handles* structure so that you don't have to re-initialize each time. I would do this ...

10 years ago | 0

| accepted

Answered
How can I get MEX function to return the right value?
Cheryl - according to <http://www.mathworks.com/help/matlab/apiref/mxcreatedoublematrix.html mxCreateDoubleMatrix>, this call cr...

10 years ago | 0

| accepted

Answered
Access function in gui problem
Florin - you would just call this function from your pushbutton callback as function pushbutton1_Callback(hObject, event, ha...

10 years ago | 0

| accepted

Answered
how to transmit the cell's value of 2 Columns to another 2 Columns in a uitable by clicking a Push Button (GUI && Matlab)
Alex - if you can assume that when you launch your GUI that all elements in the table are empty, then you can make the decision ...

10 years ago | 0

| accepted

Answered
how can i create a button that when i click the button it directly open the comport of the arduino uno and a button to close the connection between them? in matlab GUI please give me some codes for my school activity
jayson - based on the <http://www.mathworks.com/help/supportpkg/arduinoio/examples/getting-started-with-matlab-support-package-f...

10 years ago | 0

Answered
Problem with SegmentTool.
Veronika - which version of MATLAB are you using? According to <http://www.mathworks.com/help/matlab/ref/audioread.html audiore...

10 years ago | 0

| accepted

Answered
simple matlab command m=1:10 going up in values of 0.5
ahmed - just try m = 1:0.5:10;

10 years ago | 1

| accepted

Answered
how do i transfer matrix variable of an image from gui callback function to a another call back function (pushbutton1_Callback ----> pushbutton2_Callback)
Tishan - you don't need to use *guidata* to access the field of *handles* that has been update with *imgin*. Rather than doing ...

10 years ago | 0

| accepted

Load more