Joakim Magnusson
Lund University
2013년부터 활동
Followers: 0 Following: 0
Started studies in electronical engineering 2012
Feeds
답변 있음
Plot disappears after axes command
The command: set(gcf, 'currentaxes', handles.viewCAM_handles.axes_posVelMA) did the trick. Now I have trouble with wron...
Plot disappears after axes command
The command: set(gcf, 'currentaxes', handles.viewCAM_handles.axes_posVelMA) did the trick. Now I have trouble with wron...
거의 8년 전 | 0
| 수락됨
질문
Plot disappears after axes command
I have a GUI where i plot two curves in the same figure. later in the program i want to plot a third curve in the same figure. T...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
Continuous slider callback, not updated handles in callback function.
I am writing a program with several gui's/windows using tabs. Therefore are all handles accessible from tha main gui/window. My ...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
Addlistener error: Undefined function for input arguments of type 'matlab.ui.Figure'.
I am using addlistener in my openingFcn like this handles.viewCAM_handles.listener = addlistener(viewCAM_handles.slider_m...
거의 8년 전 | 답변 수: 1 | 0
1
답변답변 있음
Can someone do this calculation without for loops ?
Do you mean like this? fun=@(a,b) b.*b*a k = bsxfun(fun,a,b)
Can someone do this calculation without for loops ?
Do you mean like this? fun=@(a,b) b.*b*a k = bsxfun(fun,a,b)
거의 8년 전 | 0
질문
uitabgroup with tabs from different .fig files
I have created a GUI with "tabs" with just buttons. When I push a button I just make the current figure invisible and the select...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
Compare GUI table elements
Hello! I have a GUI with a table, in my cell edit callback i want to compare two elements from different tables. If the element...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
Save variable as string from user input
I have a gui which let the user create a test. I store the user input as a new structure because the user should be able to save...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
Load .mat - file to base workspace?
I'm writing a gui script. I want to get a .mat - file and i need to use it in many functions in my script. Is loading the file ...
거의 9년 전 | 답변 수: 2 | 0
2
답변답변 있음
Why do i get error "Attempt to execute SCRIPT varargin as a function:" ?
In the drop down menu for the run button, it's possible to edit what's suppose to happen run is pressed. it said: run: TestGU...
Why do i get error "Attempt to execute SCRIPT varargin as a function:" ?
In the drop down menu for the run button, it's possible to edit what's suppose to happen run is pressed. it said: run: TestGU...
거의 9년 전 | 0
| 수락됨
질문
Why do i get error "Attempt to execute SCRIPT varargin as a function:" ?
I just tried to use evalin and this error occured, now i have removed evalin and restarted the computer and the error still occu...
거의 9년 전 | 답변 수: 1 | 0
1
답변답변 있음
save(filename, var) cant find workspace variable even if it exist
I found a solution. Instead of assigning my struct to the base workspace, i just created a variable with my struct within my fu...
save(filename, var) cant find workspace variable even if it exist
I found a solution. Instead of assigning my struct to the base workspace, i just created a variable with my struct within my fu...
거의 9년 전 | 0
질문
save(filename, var) cant find workspace variable even if it exist
From my script i am trying to use save to store my workspace stucture to a .mat file. But i get following error message: >> T...
거의 9년 전 | 답변 수: 2 | 0
2
답변답변 있음
Plotting multiple graphs which are generated in loops on a single figure
I belive you should just do something like this: antibodies = {'Rel-A','p-Rel-A','IkBa','p-IkBa','A20'}; x_axis ...
Plotting multiple graphs which are generated in loops on a single figure
I belive you should just do something like this: antibodies = {'Rel-A','p-Rel-A','IkBa','p-IkBa','A20'}; x_axis ...
9년 초과 전 | 1
| 수락됨
답변 있음
find duplicate values, sort them and get their indices
It's hard to understand what you mean, but here's my guess. if you do this: tempV = Position==15; tempV = sort(Ray(temp...
find duplicate values, sort them and get their indices
It's hard to understand what you mean, but here's my guess. if you do this: tempV = Position==15; tempV = sort(Ray(temp...
9년 초과 전 | 1
답변 있음
Guitar tuner program flow chart question
What i know there is no way of generate a flowchart for a matlab program. I would suggest debugging the program and for exam...
Guitar tuner program flow chart question
What i know there is no way of generate a flowchart for a matlab program. I would suggest debugging the program and for exam...
9년 초과 전 | 0
| 수락됨
질문
Can't show grid in plot
I'm trying to make grids in my plot, i have other simpler plots where i manage to show grids, but not in this plot: %The...
9년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
Change minimum y-limits on a plot?
Maybe you are looking for this? yLim = get(gca,'YLim'); set(gca,'YLim', [0 yLim(2)]);
Change minimum y-limits on a plot?
Maybe you are looking for this? yLim = get(gca,'YLim'); set(gca,'YLim', [0 yLim(2)]);
9년 초과 전 | 3
| 수락됨
답변 있음
play audio song in background of my project
If you have a .wav file i think this will work. First load your file: [y f]=audioread('yourMusicFile.wav'); Then play au...
play audio song in background of my project
If you have a .wav file i think this will work. First load your file: [y f]=audioread('yourMusicFile.wav'); Then play au...
9년 초과 전 | 0
| 수락됨
답변 있음
loop and save problem
Not sure what you are trying to do, but maybe you mean like this? for i = 1:length(startpoint) if startpoint == leng...
loop and save problem
Not sure what you are trying to do, but maybe you mean like this? for i = 1:length(startpoint) if startpoint == leng...
9년 초과 전 | 0
답변 있음
How to find listeners attached to an object
Can't you save your listeners when created like this? : handles.listener1 = addlistener(...); handles.listener2 = addlis...
How to find listeners attached to an object
Can't you save your listeners when created like this? : handles.listener1 = addlistener(...); handles.listener2 = addlis...
9년 초과 전 | 0
답변 있음
How to solve division by zero error ?
I guess you are trying to calculate something by dividing with the time which at some point seem to be zero. Maybe it's not nece...
How to solve division by zero error ?
I guess you are trying to calculate something by dividing with the time which at some point seem to be zero. Maybe it's not nece...
9년 초과 전 | 0
답변 있음
How to display the output of a conditional sentence in MATLAB "GUI window" and not in "command window" after writing the conditional sentence in "script window"?
I'm not sure I understand your problem, but can't you just put a text box in your GUI and write your output there?
How to display the output of a conditional sentence in MATLAB "GUI window" and not in "command window" after writing the conditional sentence in "script window"?
I'm not sure I understand your problem, but can't you just put a text box in your GUI and write your output there?
9년 초과 전 | 0
답변 있음
ButtonDownFcn function question on guitar tuner
*at function playbutton1_Callback(hObject, eventdata, handles) it says set(hObject,'CData',PlayEnabled);* *What is CData and ...
ButtonDownFcn function question on guitar tuner
*at function playbutton1_Callback(hObject, eventdata, handles) it says set(hObject,'CData',PlayEnabled);* *What is CData and ...
9년 초과 전 | 1
답변 있음
How can I delete repeated elements? (not unique!)
I don't know such a function, but try this: Output = Input; 0 = 1; while i < size(Output,2) if Output(i) == Ou...
How can I delete repeated elements? (not unique!)
I don't know such a function, but try this: Output = Input; 0 = 1; while i < size(Output,2) if Output(i) == Ou...
9년 초과 전 | 0
답변 있음
Indexing in a for loop
I'm not sure i understand but maybe this will work for you: for i= 1001:10:n-1
Indexing in a for loop
I'm not sure i understand but maybe this will work for you: for i= 1001:10:n-1
9년 초과 전 | 0
답변 있음
Structure inside a while loop && pixel distance
You are trying to create field names named 1,2,3 ... but that is not possible because the field name have to start with a letter...
Structure inside a while loop && pixel distance
You are trying to create field names named 1,2,3 ... but that is not possible because the field name have to start with a letter...
9년 초과 전 | 0
답변 있음
How to eliminate the rows of data ?
Is your data i a matrix? I'm not sure what you want to remove, but for example if you want to remove the first 5 rows, i think y...
How to eliminate the rows of data ?
Is your data i a matrix? I'm not sure what you want to remove, but for example if you want to remove the first 5 rows, i think y...
9년 초과 전 | 0
답변 있음
nested function / Pass Data between 2 functions
You could store it in handles like this in the first function: handles.number = Number; Then you could use it in your se...
nested function / Pass Data between 2 functions
You could store it in handles like this in the first function: handles.number = Number; Then you could use it in your se...
9년 초과 전 | 0