Réponse apportée
Analog Outputs stops (without reason) ?!
Looking at the documentation, it states that all the data must be queued using putdata before starting the analogoutput object. ...

presque 13 ans il y a | 0

Réponse apportée
Analog Outputs stops (without reason) ?!
Can you post bit of the code? Also are you using the new Session based interface (R2011b) or the legacy interface ? Session B...

presque 13 ans il y a | 0

Réponse apportée
Graphical Outputs HELP
Try doc uitable: simple example: a = magic(10); t = uitable('Data',[a(:,1) a(:,2)],'ColumnName',{'X','Y'},'RowName',...

environ 13 ans il y a | 0

Réponse apportée
Standalone executable GUI calling Simulink
You would need to install the MCR on machines without MATLAB (MCR: Matlab Runtime) The MCR is avalable with the MATLAB Compi...

environ 13 ans il y a | 0

Réponse apportée
DAQ output speed maximum
You should be able to increase the sample rate of your AO to reduce the steps. set(ao_Ref,'SampleRate',5000); The defaul...

environ 13 ans il y a | 0

Réponse apportée
How to write several results in the same sheet of a Xls file ?
You can do this accurately, if you know the dimensions of the results. Otherwise, if you have good idea for maximum size of t...

environ 13 ans il y a | 0

Réponse apportée
Convert C struct to matlab struct
Depends on the medium? How are you communicating with C in MATLAB? a) Are you using MEX files? In that case you could create...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Multiple channel Data Acquistion - NI USB-6251 & BNC-2090
Greg from your code, it seems that: ai = analoginput ('nidaq','Dev1'); chan = addchannel (ai,0:1); %Set DAQ Parameters (p...

plus de 13 ans il y a | 2

Réponse apportée
function defintion
You cannot define MATLAB functions in the middle of a script. function myscript clear; Rd=load('A1.txt') plot(Rd); ...

plus de 13 ans il y a | 0

Réponse apportée
peekdata - really latest samples? - buffer?
I believe the theory is correct. You might be able to control this using the BufferingConfig and BufferingMode properties. <h...

plus de 13 ans il y a | 0

Réponse apportée
Function to display variables in MATLAB figures
Where do you want to insert this in the plot? You can insert this as a point on the existing graph using: hold on; plot(...

plus de 13 ans il y a | 0

Réponse apportée
Fast Image Thresholding-will a mex file improve speed?
You can also use manual trigger mode on your videoinput object to reduce the overhead associated with getsnapshot. Check the ...

plus de 13 ans il y a | 0

Réponse apportée
How to choose matlab compiler version????
It depends on the MATLAB version being used to create them. If you are using MATLAB R2011a to compile, then it will always use M...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
How can I compile a function that uses a modified INPUTDLG function?
Just a thought: What if you included inputdlg? (also make sure that newid is being included) Something like: mcc -m yourmainFuc...

plus de 13 ans il y a | 0

Réponse apportée
Calling MATLAB Compiled exe File
The first time an exe is called, the exe unarchives some supporting files into a temporray folder and hence there might be some ...

plus de 13 ans il y a | 0

Réponse apportée
Exporting MATLAB code to word file
You can use the publish command to publish the code and the results in a neat manner directly to word, however this will also no...

plus de 13 ans il y a | 0

Réponse apportée
Calling programs (AMPL) from within Matlab on a Mac
I guess, when you run ampl, you would need certain directories to be on the PATH (environment variable) as well as some dynamic ...

plus de 13 ans il y a | 0

Réponse apportée
Toolbox Installation Error
The error is most probably due to the fact that you do not have write privileges in the folder where the install script is does ...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
How to read a file from a specific directory?
Use full_filename = fullfile(str_fol1,str_fol2,filename); <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/fullf...

plus de 13 ans il y a | 2

| A accepté

Réponse apportée
PCODE
Depends on what you want? Pcode functionality is built in MATLAB whereas mcc uses the MATLAB Compiler product. At the same ti...

plus de 13 ans il y a | 1

Réponse apportée
Run app created in Matlab on Mac
You need to set two environment variables to the following. DYLD_LIBRARY_PATH and XAPPLRESDIR. The _mcr_root_ is the locati...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Build ITK .dll for Matlab Use?
You have a couple of options 1) If you have the code compiled in to a dll, you can directly load the dll using MATLAB loadlibrar...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
DAQ issue
Couple of quick things: When you start AO, you are staring a clocked operation with this particular board based on the sample r...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
How to access video from a remote camera?
You might also look at this <http://www.mathworks.com/matlabcentral/answers/12036-how-do-i-use-my-smart-phone-camera-as-a-webca...

plus de 13 ans il y a | 0

Réponse apportée
write data from gui in excel
xlswrite will work from a GUI. xlswrite(filename,handles.data)

plus de 13 ans il y a | 0

Réponse apportée
Titling figures from 1 till 20.
title(['image ' num2str(i)]);

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Change image after mouse over?
You cannot have WindowsButtonMotionFcn for the axes, but you can have it for the figure. Just select the GUI figure, right clic...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
MATLAB serial timeout handling.
The Timeout is a warning and hence you are unable to catch it. Searching a little, I found a couple of references that might be ...

plus de 13 ans il y a | 1

Réponse apportée
MATLAB serial timeout handling.
Use the ErrorFcn callback <http://www.mathworks.com/help/releases/R2011a/techdoc/matlab_external/timeout.html>

plus de 13 ans il y a | 0

Réponse apportée
plot 3d trajectory problem
It looks good to me: Here's my sample code % Sample trajectory t = 0:0.1:10; x = 5*cos(t); y = 5*sin(t); z = s...

plus de 13 ans il y a | 0

| A accepté

Charger plus