Réponse apportée
How to load data form specific memory address of the computer
Hi zohar, I guess you want to share large data sets with functions without the need to copy the data. Please have a look at L...

plus de 13 ans il y a | 0

Réponse apportée
MATLAB Coder & Embedded coder are different product or Matlab Tool ?
Hi, if you want to use matlab functions in your microcontroller code you can use Matlab Coder. Matlab Coder can produce c and...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
How to find a chunk of a certain number of zeros inside a vector
Hi Pedro, just programming straigforward I would use A = [0;1;1;0;0;0;0;1;1;1;1;0;1;]; cons = 4; indices = find(A...

plus de 13 ans il y a | 0

Réponse apportée
string choppping
Hi William, if you use str = outloc(strfind(outloc,'\MATLAB'):end) you will get str = \MATLAB Gerd

plus de 13 ans il y a | 0

Réponse apportée
Importdata won't work with this txt file
Hi Jason, I would use the textscan command to extract the data. By using fid = fopen('Data.txt') tmp = textscan(fi...

plus de 13 ans il y a | 0

Réponse apportée
Load and average lots of .mat files
Hi Michael, load the first file. Give the variable a different name, e.g. _index, load the next file. Again copy the variable...

plus de 13 ans il y a | 0

Réponse apportée
Skip Error Message and Continue with the M-File
Hi, just use the try command on the weboperation. try %commands to be executed end If you do have a problem bet...

plus de 13 ans il y a | 1

Réponse apportée
Segment of Graph Extraction
Hi Daniel, I don't know any plotting tool in Matlab but with some lines of code it shouldn't be a problem. xlimit=get(gc...

plus de 13 ans il y a | 0

Réponse apportée
send data continuously
Hi Paskah, you can use timers in Matlab to send continously data to your serial device. t = timer ; set(t,'Execution...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
stateflow
Hi Murali, using a sample time of 0.01s for your model lets you only generate pulses with a multiple of the basic sample time...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
clear single plots intead of the whole plot
Hi Johan, on a simple plot you would write a=linspace(0,10,1000); b=sin(a); c=cos(a); h1 = plot(a,b); hold ...

plus de 13 ans il y a | 0

Réponse apportée
Auto save file name by using original name
Hi takem, do to the fact you have the handle to your new figure you can use saveas(h,[filepath '\' Savefilename Savefil...

plus de 13 ans il y a | 2

Réponse apportée
Loading and using a .MAT file
Hi William, you have to use % to save a file called "filename" in the folder "D:\Temp_folder" save('D:\Temp_folder\fi...

plus de 13 ans il y a | 0

Réponse apportée
How can I hold the previous "legend" on a plot?
For example I you would like to show the sin and cos you would use t=[0:0.1:10] x=sin(t) y=cos(t) plot(t,x) ho...

plus de 13 ans il y a | 2

Réponse apportée
How can I hold the previous "legend" on a plot?
Hi sadel, to get the current legend use % you have to have a legend on the current plot get(legend(gca),'String'); % g...

plus de 13 ans il y a | 1

Réponse apportée
help to find similar variables and add them togeher
Hi, without the Statistics Toolbox I would use t=[0.1 0.3 0.2 0.1 0.4 0.2 0.5 0.9 0.7 0.1 0.4 0.8 0.25 0.2 0.3 0.1]; P=...

plus de 13 ans il y a | 1

Réponse apportée
Problem getting handles structure to update in GUI
Hi Michael, I also have sometimes a strange behaviour using the guidata(hObject) terminology. I started using for my own data...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Check for instrument objects
Hi Arun, what interface objects are you looking for. When you talking about serial communication object you can find them usi...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Create listener / Interrupt to detect new CAN message
Hi Chirag, thank you for your answer. The functions you described MessageReceivedFcnCount and MessageReceivedFcn are from th...

plus de 13 ans il y a | 0

Question


Create listener / Interrupt to detect new CAN message
Hi all, I am writing some routines to interface my PEAK Systems CAN USB Dongle. I managed to get it all working (send and rec...

plus de 13 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Converting fortran code to matlab
Hi Walter, thank's for your reply. I did a lot of investigations on my code. The code "looks" like the same as in my fortran...

plus de 13 ans il y a | 0

Question


Converting fortran code to matlab
Hello, I have a Fortran .dll compiled on a Win32 XP machine and the fortran source code. I moved the code to Matlab to be more...

plus de 13 ans il y a | 2 réponses | 0

2

réponses

Question


GUI data Update
Hi guys, I'm building a gui in matlab and have a question about the guidata update. I want to let the user change a value on...

plus de 13 ans il y a | 1 réponse | 0

1

réponse