Community Profile

photo

nl2605


Con actividad desde 2013

Followers: 0   Following: 0

Contacto

Estadísticas

All
  • Knowledgeable Level 3
  • 6 Month Streak
  • Thankful Level 3
  • Knowledgeable Level 2
  • First Answer
  • Solver

Ver insignias

Feeds

Ver por

Respondida
how to say a number in the title
title(['Probability greater than swtNPVProb(',num2str(i),',1)']); However, in the same plot the last value would appear.

casi 10 años hace | 0

Respondida
How to add folder automatically
uigetfile and fullfile is what you need.

casi 10 años hace | 0

Respondida
How to set parent figure of subplot which is not the current figure?
Well, what you can do is something like this: hfig1 = figure; subplot(1, 2, 1,'Tag','axes1'); plot(1, 1); subplot(...

casi 10 años hace | 0

Respondida
I have created a set of gui's and i have inserted next button to navigate to the next gui. in the next gui i have a load button and an axes to display the image but if i select an image it gives me an error. the error is displayed below.
It doesn't know what handles.axes1 is. First use h = findobj('Tag',axes1) and then axes(h). I think it should work.

casi 10 años hace | 0

| aceptada

Respondida
how to run mfile from GUI
I think the problem is that 'fname' is not getting transferred from one callback function to another. The solution is using seta...

casi 10 años hace | 0

| aceptada

Pregunta


Unexpected behaviour in MATLAB GUI
Hi guys I have made a GUI in MATLAB. Normally it works fine but sometimes it gives errors at certain places which is totally ...

casi 10 años hace | 0 respuestas | 0

0

respuestas

Respondida
How can I change the default units in GUIDE
In the CreateFcn you can change the units as you want them to be. But yes, you will have to write it in every CreateFcn of your ...

alrededor de 10 años hace | 0

Respondida
Integrator error in simulink
http://www.mathworks.com/matlabcentral/answers/99084 This link might be helpful. Also, hope you are giving the initial condit...

alrededor de 10 años hace | 0

Respondida
how to measure dc current in simulink?
http://www.mathworks.de/de/help/physmod/simscape/ref/currentsensor.html Considering you have been using Simscape blocks. and...

alrededor de 10 años hace | 0

| aceptada

Respondida
How to change Tab order of panel of my gui?
http://www.mathworks.com/matlabcentral/answers/91627 This link should be helpful to you. Contains links to files that might h...

alrededor de 10 años hace | 0

Respondida
How would i write a code for my pushbutton in a gui that flips or changed the background color on the pushbutton back to original?
Store a variable with value 1. Then simply negate it everytime you run the callback function. And using an if-else statement you...

alrededor de 10 años hace | 0

Respondida
call a function within another function
http://www.mathworks.de/de/help/matlab/learn_matlab/calling-functions.html This will help.

alrededor de 10 años hace | 0

| aceptada

Respondida
if elseif statement operands
You have to give a condition for elseif. Something like elseif ((f0<=f) && (f<f1)== 1) or zero according to your condition.

alrededor de 10 años hace | 0

Respondida
select .txt file using a filter like *.txt
I am not sure if this is the simplest way. But you can use 'uigetfile'. Here you can use the .*txt filter. And then use the file...

alrededor de 10 años hace | 0

Respondida
GUI: How to update the handles when calling a function Callback inside another Callback?
Hey Ana, http://www.mathworks.de/de/help/matlab/creating_guis/share-data-among-callbacks.html i think this would be the best ...

alrededor de 10 años hace | 1

Respondida
GUI: How to update the handles when calling a function Callback inside another Callback?
http://www.mathworks.de/matlabcentral/answers/122359-guidata-save-handles-only-after-exiting-callback I hope this will help. ...

alrededor de 10 años hace | 0

Respondida
dwt function in matlab
There are many different filters to perform wavelet transformation. Like Haar, Debaucheis. This db1 etc corresponds to these dif...

alrededor de 10 años hace | 0

Respondida
How to equate data from two arrays?
'ismember' is what you need.

alrededor de 10 años hace | 0

Respondida
How can I select number with dialog box?
You have to use str2num to change entered value to number. You can use that number then. http://www.mathworks.de/de/help/matl...

alrededor de 10 años hace | 0

| aceptada

Respondida
GUIDATA save handles only after exiting callback
You are doing it alright. The problem is when you store your handles structure. You use gcbo. So it stores only for that callbac...

alrededor de 10 años hace | 0

Respondida
How to know if a radio button is selected or not?
Anyway what you can do is in the callback function of your pushbutton, write this if else statement if (get(handles.radiobu...

alrededor de 10 años hace | 1

| aceptada

Respondida
Using Interp1 - monotonic increasing values
Ohh I see now. Many of your data points are the same and not monotonically increasing or so. http://www.mathworks.de/matlabc...

alrededor de 10 años hace | 1

Respondida
how can i import a 3 dimensional signal or data into simulink?
Use a 'From Workspace' block to get the data from MATLAB workspace into Simulink. Then you can separate it or simply use 'InPort...

alrededor de 10 años hace | 0

Respondida
discrete controller Ts problem
So this Ts is actually in the DTC block of your model. Go to Explorer(by right clicking onto the DTC block). Then go to Unit Del...

alrededor de 10 años hace | 0

Respondida
where am i going wrong? i get errors when i multiply the functions
for t = 1:2 x(t) = sin(2*pi*3*t); y(t) = sin(2*pi*15*t); c(t) = x(t).* y(t); end This should work

alrededor de 10 años hace | 1

Respondida
How do i Extract certain values from a list using a for loop and if statements
for n = 1 : nAbs if Absences(n) == 1 || Absences(n) == 2 fprintf('\n%5i \t\t\t %i\n',StudentNumber(n),Absences(n)) ...

alrededor de 10 años hace | 0

| aceptada

Respondida
Putting tables in message boxes
I don't know why you would want to do it in a msgbox. You can use a GUI instead. http://www.mathworks.de/products/matlab/exam...

alrededor de 10 años hace | 0

Respondida
Characteristics of a time response plot
http://www.mathworks.de/de/help/control/ref/stepinfo.html This link will provide you with all the information you need on 'st...

alrededor de 10 años hace | 0

Respondida
how to display a result with a value in matlab gui?
You have to use guide to make a GUI. Then put a pushbutton and a static text or table according to the data to be displaced. In ...

alrededor de 10 años hace | 0

Respondida
How can I add color to predefined?
Probably this might help you. It helped me. http://www.youtube.com/watch?v=4RMbSvFC2D0

alrededor de 10 años hace | 0

Cargar más