photo

nl2605


Active since 2013

Followers: 0   Following: 0

Message

Statistics

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

View badges

Feeds

View by

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

| accepted

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

10 years ago | 0 answers | 0

0

answers

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

| accepted

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

| accepted

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 1

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

| accepted

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

10 years ago | 0

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

10 years ago | 1

| accepted

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

10 years ago | 1

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

10 years ago | 0

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

10 years ago | 0

Answered
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

10 years ago | 1

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

10 years ago | 0

| accepted

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

Load more