Réponse apportée
Stop ai manually
Hi Kay, This is possible. Here is some sample code: ai = analoginpt(....); % Add channels and set it up % Use S...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
NI USB-TC01 Thermocouple Measurement Device Compatibility with Matlab
Try using it with Data Acquisition Toolbox: <http://www.se.mathworks.com/matlabcentral/fileexchange/29707-read-a-national-instr...

plus de 13 ans il y a | 1

Réponse apportée
Construct Timer using evalin
evalin('base','Timer.Name = ''test123'''); You need to escape '

plus de 13 ans il y a | 1

Réponse apportée
Any help for converting from s-matrix to z-matrix
I don't know the context, but the code should be simple enough: % Assume you have S and it is a square matrix % Create U...

plus de 13 ans il y a | 0

Réponse apportée
How do I use my smart phone camera as a webcam in MATLAB?
With the iPhone, using the <http://itunes.apple.com/us/app/ip-cam/id333208495?mt=8 App suggested by Ashish above (IP Cam)>, you ...

plus de 13 ans il y a | 2

Réponse apportée
fopen inconsistency in compiled code
The file will be created in the ctfroot/application (doc ctfroot) directory. This is because, when the compiled application runs...

plus de 13 ans il y a | 1

Réponse apportée
MATLAB OOP question.
In MATLAB, a method would typically have a signature: classdef test1234 < handle properties (Access = public) prop ...

plus de 13 ans il y a | 2

| A accepté

Réponse apportée
entering new data in Neural Network Time Series Tool
Hi Mohammed, Typically when you create a TimeSeries network, the network output also acts as the second input (feedback input...

plus de 13 ans il y a | 0

Réponse apportée
entering new data in Neural Network Time Series Tool
This link contains the information you are looking for <http://www.mathworks.com/help/releases/R2011a/toolbox/nnet/gs/f9-56659.h...

plus de 13 ans il y a | 0

Réponse apportée
Close Command after running MATLAB function in EXCEL VBA
Kaustubha's suggestion looks good to me. Is your routine f_ann finished when you try and exit?

plus de 13 ans il y a | 0

Réponse apportée
How to generate C++ code using simulink coder?
Open Configuration Paramters (Ctrl + E) -> Code Generation Tab and select Target Language as C++

plus de 13 ans il y a | 1

Réponse apportée
Multiple import/edit of xls files
This should work! You might need to tweak it slightly! hExcel = actxserver('Excel.Application'); hExcel.visible = 1; % If y...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Calling MATLAB and running m files from Excel VBA macro
You can also achieve the same using MATLAB as a COM server. Please see sample code below: <http://www.mathworks.com/help/tech...

plus de 13 ans il y a | 0

Réponse apportée
matlab to c conversion
The latest version of MATLAB (R2011a) has product called <http://www.mathworks.com/products/matlab-coder/ MATLAB Coder> that can...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Import excel to matlab
[~, sheets, ~] = xlsfinfo('myfile.xls'); gives a cell array of sheets for i = 1:length(sheets) %create variabl...

plus de 13 ans il y a | 0

Réponse apportée
Reading an incremental encoder with DAQ toolbox
You should be able to use counters with the latest Data Acquisition Toolbox, with some of NI boards. For this particular MCC ...

plus de 13 ans il y a | 0

Réponse apportée
Calling User32.dll mouse_event
I haven't looked at user32.h, but I will take a guess with checking the function syntax in the header file for mouse_event. W...

plus de 13 ans il y a | 0

Réponse apportée
fmincon
I would start with typing doc fmincon for the documentation on the function. It might be easier to use <http://www.mathworks...

plus de 13 ans il y a | 0

Réponse apportée
MATLAB 2010b can not read my DAQ
If it's Win 7 or Visat, try starting MATLAB in admin mode. Right click on MATLAB icon and select run as admin

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
How to plot real-time with nidaq, but see the entire graph as it is plotting?
function acquireData s = daq.createSession('ni'); s.addAnalogInputChannel('cDAQ1Mod1',0,'voltage') s.Rate = 2000 s.Dur...

plus de 13 ans il y a | 0

Réponse apportée
Builder NE 2010 a problem with neural network toolbox
<http://www.mathworks.com/support/solutions/en/data/1-9R93XH/index.html?solution=1-9R93XH function pragma to network object> ...

plus de 13 ans il y a | 0

Réponse apportée
m file is not reading variables from the workspace
Functions have their own workspaces. Scripts on the other hand run in the base workspace where you have your data. You could ...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Testing Neural Networks
use the outputs = sim(net,testinputs) where net is the trained neural net

plus de 13 ans il y a | 0

Réponse apportée
How can I save my trained neural network?
You can save it to a MAT file. save('filename','VariableName(trained nnet object)') You can then use this object again by loa...

plus de 13 ans il y a | 1

Réponse apportée
Using a text file to title a plot.
Try title([label char(10) 'x vs y']) % char(10) for newline

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
GETSNAPSHOT timeout error after adjusting camera settings
Can you try and set the trigger to Manual and then try and acquire the snapshot. triggerconfig(vidobj, 'manual'); % change...

plus de 13 ans il y a | 1

Réponse apportée
Making mesh from independent variables
How about <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/meshgrid.html meshgrid>? [x,y,z] = meshgrid(X,Y,Z); % ...

plus de 13 ans il y a | 0

Réponse apportée
Specify columns inside a for loop
You might not need to use a for loop % rand data data = rand(365,25); % colums 1-8 data(:,1:8) = data(:,1:8)*10; % c...

plus de 13 ans il y a | 0

Réponse apportée
Improper use of putdata
Put the wait command after start(AO) in your code. putdata queues the data in the engine and start(AO) would start the output...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
i want to create an error msg in matlab gui
The previous answer seems to work. What are the contents of the variable? Is the variable a cell? filename = 'MyTest1.xls' ...

plus de 13 ans il y a | 0

Charger plus