Community Profile

photo

Gerd


Actif depuis 2011

Statistiques

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

Afficher les badges

Content Feed

Afficher par

A répondu
What is the purpose of "inputdlg"?
help inputdlg The command is used to get an input from the user.

plus de 12 ans il y a | 2

A répondu
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...

plus de 12 ans il y a | 0

| A accepté

A répondu
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...

plus de 12 ans il y a | 0

A répondu
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 ...

plus de 12 ans il y a | 0

A répondu
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...

plus de 12 ans il y a | 1

| A accepté

A répondu
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...

plus de 12 ans il y a | 1

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

plus de 12 ans il y a | 0

| A accepté

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

plus de 12 ans il y a | 0

| A accepté

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

plus de 12 ans il y a | 0

A répondu
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...

plus de 12 ans il y a | 0

A répondu
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...

plus de 12 ans il y a | 1

A répondu
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 ...

plus de 12 ans il y a | 0

A répondu
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...

plus de 12 ans il y a | 1

| A accepté

A répondu
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...

plus de 12 ans il y a | 1

| A accepté

A répondu
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

plus de 12 ans il y a | 1

| A accepté

A répondu
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=...

plus de 12 ans il y a | 1

| A accepté

A répondu
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...

plus de 12 ans il y a | 0

A répondu
create an exe file
Hi armin, you need the Matlab Compiler Toolbox Gerd

plus de 12 ans il y a | 0

A répondu
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...

plus de 12 ans il y a | 1

| A accepté

A répondu
plot point
Hi, use the interp1 function result = interp1(x,y,65)

plus de 12 ans il y a | 0

A répondu
GUI-Simulink
Hi Nitesh, you can use set_param(gcs, 'SimulationCommand', 'start') or set_param(gcs, 'SimulationCommand', 'sto...

plus de 12 ans il y a | 0

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

plus de 12 ans il y a | 0

| A accepté

A répondu
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...

plus de 12 ans il y a | 1

A répondu
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

plus de 12 ans il y a | 0

A répondu
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...

plus de 12 ans il y a | 0

A répondu
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...

plus de 12 ans il y a | 0

| A accepté

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

plus de 12 ans il y a | 2

| A accepté

A répondu
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...

presque 13 ans il y a | 0

A répondu
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...

presque 13 ans il y a | 1

A répondu
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)...

presque 13 ans il y a | 2

| A accepté

Charger plus