photo

nl2605


Actif depuis 2013

Followers: 0   Following: 0

Message

Statistiques

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

Afficher les badges

Feeds

Afficher par

Réponse apportée
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.

plus de 10 ans il y a | 0

Réponse apportée
How to add folder automatically
uigetfile and fullfile is what you need.

plus de 10 ans il y a | 0

Réponse apportée
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(...

plus de 10 ans il y a | 0

Réponse apportée
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.

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Question


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 ...

plus de 10 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
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 ...

plus de 10 ans il y a | 0

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

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
call a function within another function
http://www.mathworks.de/de/help/matlab/learn_matlab/calling-functions.html This will help.

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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.

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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 ...

plus de 10 ans il y a | 1

Réponse apportée
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. ...

plus de 10 ans il y a | 0

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

plus de 10 ans il y a | 0

Réponse apportée
How to equate data from two arrays?
'ismember' is what you need.

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 1

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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

plus de 10 ans il y a | 1

Réponse apportée
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)) ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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 ...

plus de 10 ans il y a | 0

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

plus de 10 ans il y a | 0

Charger plus