Feeds
回答済み
What is the purpose of "inputdlg"?
help inputdlg The command is used to get an input from the user.
What is the purpose of "inputdlg"?
help inputdlg The command is used to get an input from the user.
13年以上 前 | 2
回答済み
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...
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...
13年以上 前 | 0
| 採用済み
回答済み
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...
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年以上 前 | 0
回答済み
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 ...
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年以上 前 | 0
回答済み
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...
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年以上 前 | 1
| 採用済み
回答済み
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...
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年以上 前 | 1
回答済み
GUI
Hi murali, open GUIDE. Place a button on the gui. Go to the callback function logo = imread('Logo.jpg','jpg'); ...
GUI
Hi murali, open GUIDE. Place a button on the gui. Go to the callback function logo = imread('Logo.jpg','jpg'); ...
13年以上 前 | 0
| 採用済み
回答済み
Fixing the interval
Hi Kavish, % set xLim to start at 2 set(gca,'XLim',[2 10]); Gerd
Fixing the interval
Hi Kavish, % set xLim to start at 2 set(gca,'XLim',[2 10]); Gerd
13年以上 前 | 0
| 採用済み
回答済み
Save last figure position
Hi Adi, sure you can save the position of the figure. % get current figure paper position position = get(gcf,'Paper...
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年以上 前 | 0
回答済み
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...
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年以上 前 | 0
回答済み
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...
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年以上 前 | 1
回答済み
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 ...
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年以上 前 | 0
回答済み
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...
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年以上 前 | 1
| 採用済み
回答済み
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...
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年以上 前 | 1
| 採用済み
回答済み
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
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年以上 前 | 1
| 採用済み
回答済み
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=...
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年以上 前 | 1
| 採用済み
回答済み
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...
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年以上 前 | 0
回答済み
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...
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年以上 前 | 1
| 採用済み
回答済み
GUI-Simulink
Hi Nitesh, you can use set_param(gcs, 'SimulationCommand', 'start') or set_param(gcs, 'SimulationCommand', 'sto...
GUI-Simulink
Hi Nitesh, you can use set_param(gcs, 'SimulationCommand', 'start') or set_param(gcs, 'SimulationCommand', 'sto...
13年以上 前 | 0
回答済み
read name of csv-file and save as output
HI Mariska, use [PATHSTR,NAME,EXT] = FILEPARTS(FILE) to get the results Gerd
read name of csv-file and save as output
HI Mariska, use [PATHSTR,NAME,EXT] = FILEPARTS(FILE) to get the results Gerd
13年以上 前 | 0
| 採用済み
回答済み
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...
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年以上 前 | 1
回答済み
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
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年以上 前 | 0
回答済み
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...
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年以上 前 | 0
回答済み
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...
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年以上 前 | 0
| 採用済み
回答済み
graph
Hi Armin, you can use datacursor mode. In the callbackfunction you can play with the points (x & y ) received from the cal...
graph
Hi Armin, you can use datacursor mode. In the callbackfunction you can play with the points (x & y ) received from the cal...
13年以上 前 | 2
| 採用済み
回答済み
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...
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年以上 前 | 0
回答済み
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...
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年以上 前 | 1
回答済み
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)...
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年以上 前 | 2
| 採用済み