photo

nl2605


Attivo dal 2013

Followers: 0   Following: 0

Messaggio

Statistica

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

Visualizza badge

Feeds

Visto da

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

circa 10 anni fa | 0

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

circa 10 anni fa | 0

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

circa 10 anni fa | 0

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

circa 10 anni fa | 0

| accettato

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

circa 10 anni fa | 0

| accettato

Domanda


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

circa 10 anni fa | 0 risposte | 0

0

risposte

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

| accettato

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

| accettato

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 1

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

| accettato

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 1

| accettato

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

oltre 10 anni fa | 1

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

Risposto
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

oltre 10 anni fa | 1

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

oltre 10 anni fa | 0

| accettato

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

Carica altro