photo

nl2605


Aktiv seit 2013

Followers: 0   Following: 0

Nachricht

Statistik

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

Abzeichen anzeigen

Feeds

Anzeigen nach

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

| akzeptiert

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

etwa 10 Jahre vor | 0

| akzeptiert

Frage


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

etwa 10 Jahre vor | 0 Antworten | 0

0

Antworten

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

| akzeptiert

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

| akzeptiert

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 1

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

| akzeptiert

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 1

| akzeptiert

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

etwa 10 Jahre vor | 1

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

Beantwortet
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

etwa 10 Jahre vor | 1

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

etwa 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

Mehr laden