已回答
How to make a target appear and then disappear
@Dax Cvancara - try using a timer to delete the graphics object (of the right dot) after 0.3 seconds. Nest your code into a main...

2 years 前 | 0

已回答
Is there a way to control two subplots with one slider?
@Derrell Dsouza - I think the issue is with your call to imagesc where you are not specifiying the axes upon which to draw the i...

2 years 前 | 0

| 已接受

已回答
Have a issue in running Dstar path planning
@Yasaman Hajnorouzali - your link points to the DstarPO rather than the DstarMOO but I think the issue is that you aren't passin...

2 years 前 | 0

| 已接受

已回答
hORİZONTAL AND VERTCAL WİTH SAME THİCKNESS BUT DİFFERENT OUTPUTS İN GUİDE
Fix seems to be to update the style of the axis...changing the code from axis(handles.axes1,'equal'); to axis(handles.axes1,'...

2 years 前 | 0

已回答
How do I take input through the editbox in GUI and then pass the data in a script(.m) file?
@Animesh Anand - you will need to convert your code from a script (if that is what it is) to a function so that you define the c...

2 years 前 | 0

| 已接受

已回答
MATLAB GUI calling external function
@Jason Chang - you will need to change the signature for your appsynthesizertestcode function so that you can pass in the parame...

2 years 前 | 0

已回答
How do I connect my strings to my function?
@Natalie Merchant - I may not have grasped exactly what you want, but I think from the code and your question, you are looking f...

2 years 前 | 0

| 已接受

已回答
Create a highscore im matlab GUI video game
@Ruslan Avramenko - in the restart button callback, you will want to compare the number in the high score field with that in the...

2 years 前 | 1

| 已接受

已回答
Cut measured data, time series shifted
@Mark S - since the first column on M corresponds to time, and since you divide that column by 1000, you would want to find all ...

2 years 前 | 0

已回答
how can I convert Tiff images with different timepoint to Mp4?
@Abdallah Almahmoud - are you trying to read multiple TIFF files with t = Tiff([folder 'test_27_Hour_00_Minute_00_Second_00...

2 years 前 | 0

已回答
Multiple table input issues
@Peder Axensten - try creating a cell array of the data that you wish to save (I'm assuming that each iteration could produce a ...

2 years 前 | 0

已回答
How can I remove the extra blank spaces from a text?
@Tiziano dos Santos - you could perhaps use strsplit to split the string on the space character and will create a cell array of ...

2 years 前 | 0

已回答
Nested loop creating two dimensional cell
@Marisa Mulvey - looking closely at your inner loop for j = 1:wCond filename = triallist{j}; calcdata{i,j} = calc_spl...

2 years 前 | 0

| 已接受

已回答
how can create Changing lamp color with start and stop button
@Amir Azadeh Ranjbar - you would need callback functions for your start and stop buttons. These callbacks would then change the ...

2 years 前 | 0

| 已接受

已回答
how to plot from input (function)
@Anwar Alm - you could use str2func to convert the function string to a function handle and then evaluate in your code. In this ...

2 years 前 | 0

已回答
My while loop will not stop even when it no longer meets the requirements, how do I fix this?
@Matthew Smyth - look closer at your while loop condition while ~(guessesLeft <= 0) || ~(correctCount == length(guessingWord-1)...

2 years 前 | 0

| 已接受

已回答
How to combine animations, add title and edit limits
@Grigorios Chatziandreou - the animate_pendulum function creates a figure each time it is called which is why you will see one f...

2 years 前 | 0

| 已接受

已回答
Implementing perceptron using while and for
@Nick Vasilakis - your while loop looks like while sum(abs(y-y_problepsi))~=0 delta_w=0.7*(y-y_problepsi)....

2 years 前 | 0

已回答
Have a partial code but I cant get it to perform where if falls to the right.
@Blain Wood - I think you need to change the first condition of elseif 75>chance && chance<=89 to elseif 75 < chance && chanc...

2 years 前 | 0

已回答
Error 'Array indices must be positive integers or logical values.' matlab gui
@Lai Ken Siang - I think that you will need to revisit your code. When the string is '...---...', how does the code know where ...

2 years 前 | 0

| 已接受

已回答
Get label name of item in dropdown menu
@John F - since you are passing the drop down objects into the callback, I think you could just do function update_perf_plot(xd...

2 years 前 | 0

已回答
Equation is working but the output is not displaying
@Nicholas Mun - without knowing exactly what the input string looks like, I think that you need to replace output_string = [out...

2 years 前 | 0

| 已接受

已回答
How to display audio file length in Matlab GUI
@Nikos Korobos - if you are using an audioplayer, you could use the CurrentSample to determine how many samples havve been playe...

2 years 前 | 0

| 已接受

已回答
App Error 'value' must be double scalar within the range of 'limits' Can't really find a way to fix
@Matthew Moniz - I think one of the problems is with the code here function CalculateButtonPushed(app, event) Roll=app.Pla...

2 years 前 | 0

已回答
Error ' Index in position 2 exceeds array bounds'.how to correct this.
@susan sara - in your while loop conditions while(abs(a(k)-a(k-1))>=0.01) && abs(b(k)-b(k-1))>=0.01 && rms(abs(A(:,k)-A(:,k-1)...

2 years 前 | 1

| 已接受

已回答
Audioplayer StopFcn is executed even when I pause my audioplayer
@Shadow_man - it doesn't seem correct that the stop function is called when the audio player is paused especially given the docu...

2 years 前 | 0

| 已接受

已回答
Making circular shapes using equation of circle
@hamzah khan - I think the issue is with the bounds for your grid xmin = min(Data_agglo(:,2)-R); xmax = max(Data_agglo(:,2)+R)...

2 years 前 | 0

| 已接受

已回答
Using "imread" to process multiple images
@Dongsu Kim - from your code for n=2:400 %Load image file images{n} = imread(sprintf('C1S0076%08d.tif',n)); end Im1 = ma...

2 years 前 | 0

| 已接受

已回答
music piece with matlab
@Giovanni Scamardo - from https://www.mathworks.com/matlabcentral/answers/335544-matlab-play-notes-for-different-duration-s-as-s...

2 years 前 | 0

已回答
Storing information from a loop over 3 variables
@RP - look closely at this code for i=1:4 for j=1:4 for ii=1:9 muy=-muinputs(i)*SCR; si...

2 years 前 | 0

| 已接受

加载更多