Community Profile

photo

Gerd


Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • Knowledgeable Level 3
  • 3 Month Streak
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
What is the purpose of "inputdlg"?
help inputdlg The command is used to get an input from the user.

12 years ago | 2

Answered
Barchart Values
Hi Jason, you can use "text" command to print text into a bargraph. You have to build the string using your y values. For the...

12 years ago | 0

| accepted

Answered
Image acquisition using multiple timers.
Hi Akshay, you can generate multiple timers in Matlab. timer1=timer; timer2=timer; with set method you can set the...

13 years ago | 0

Answered
ATP Simulink interface
Hi Shreesh, of course you can use any data to simulate something in Simulink. You can load your data into the workspace and ...

13 years ago | 0

Answered
increasing value in stateflow
Hi Luhur, assume you have 2 states. One is called increment the other is called nothing. With your S variable checked in a tr...

13 years ago | 1

| accepted

Answered
Receiving messages from the CAN via CANcase using Vehicle Network Toolbox(R2010b) and working with it in realtime.
Hi Karthik, realtime behaviour with the VNT is not easy to accomplish. Looking at your code you might be able to use the 'Mes...

13 years ago | 1

Answered
GUI
Hi murali, open GUIDE. Place a button on the gui. Go to the callback function logo = imread('Logo.jpg','jpg'); ...

13 years ago | 0

| accepted

Answered
Fixing the interval
Hi Kavish, % set xLim to start at 2 set(gca,'XLim',[2 10]); Gerd

13 years ago | 0

| accepted

Answered
Save last figure position
Hi Adi, sure you can save the position of the figure. % get current figure paper position position = get(gcf,'Paper...

13 years ago | 0

Answered
out-of-memory problem
Hi Emanuela, please have a look at http://www.mathworks.de/matlabcentral/answers/10656-how-do-i-increase-the-amount-of-me...

13 years ago | 0

Answered
How to convert Pascal to dB, knowing the microphone sensitivity?
Hi Coline please have a look at the webside http://www.ajdesigner.com/phpsound/sound_wave_equation_spl_sound_pressure_level.p...

13 years ago | 1

Answered
How does an m-file output appear in GUI axis?
Hi Sue, as Paulo stated it looks like you cannot select the axes with the imagesc command. A workaround might be to use ...

13 years ago | 0

Answered
How to set a value from code or callback to a edit text box
Hi danny, in your function edit1_CreateFcn(hObject, eventdata, handles) you can set the "String" value by typing set(hO...

13 years ago | 1

| accepted

Answered
Is there an easy way to localize an output (set the language)
Hi Clemens, I often use a cell arrays to do the language change, e.g. string{1}='Hello'; string{2} = 'Hallo'; lang...

13 years ago | 1

| accepted

Answered
How can I get the GUI to browse for a specific file?
Hi Sue, you can use uigetfile to open a dialog where the user can choose the file. Gerd

13 years ago | 1

| accepted

Answered
Saving Figure Data into a Matrix
Hi Royi, you can use the getframe command. logo = imread('Logo.jpg','jpg'); image(logo); text(20,30,'Hello') f=...

13 years ago | 1

| accepted

Answered
number from simulink to guide
OK, now I think I know what you want. If you take a constant block in Simulink and write a variable name for the "Constant Value...

13 years ago | 0

Answered
create an exe file
Hi armin, you need the Matlab Compiler Toolbox Gerd

13 years ago | 0

Answered
Load constants from file
Hi Cristian, you can use the eval('') command to do what you described. First you have to open the file, read line by line a...

13 years ago | 1

| accepted

Answered
plot point
Hi, use the interp1 function result = interp1(x,y,65)

13 years ago | 0

Answered
GUI-Simulink
Hi Nitesh, you can use set_param(gcs, 'SimulationCommand', 'start') or set_param(gcs, 'SimulationCommand', 'sto...

13 years ago | 0

Answered
read name of csv-file and save as output
HI Mariska, use [PATHSTR,NAME,EXT] = FILEPARTS(FILE) to get the results Gerd

13 years ago | 0

| accepted

Answered
Coordinates of manually selected point
Hi Suhas, you can use datacursormode to solve your problem. help datacursormode x=linspace(0,10,1000); y=sin(x); pl...

13 years ago | 1

Answered
clear all axes handles in GUI
Hi Christof, I think your code should work. Please make sure you are using the right figure handle. Gerd

13 years ago | 0

Answered
graph
When you run your m-file and nothing is selected on the graph the position variable is empty. When your m-file is finished the p...

13 years ago | 0

Answered
import multi type data in MATLAB
Hi Sarah, depending on your specific file you can use fid= fopen('File.txt'); textscan(fid,'%s%f.....'); fclose(f...

13 years ago | 0

| accepted

Answered
graph
Hi Armin, you can use datacursor mode. In the callbackfunction you can play with the points (x & y ) received from the cal...

13 years ago | 2

| accepted

Answered
MATLAB serial communication via Bluetooth SPP
HI Christopher, did you connect the sensors after Matlab is running. It is always a problem for Matlab to show the correct Se...

13 years ago | 0

Answered
Creating a line with "line" and obtaining the points.
Hi Silvia, first of all I would create a new vector out of your two "x" values(depending on your needs/resolution). Then usin...

13 years ago | 1

Answered
How to save a variable from a function and use it in another function in MATLAB GUI?
Hi Asad, before the "first button" function end use mydata.value = "directory result" setappdata(gcf,'mydata',mydata)...

13 years ago | 2

| accepted

Load more