回答済み
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...

13年以上 前 | 0

回答済み
matlab to c conversion
The latest version of MATLAB (R2011a) has product called <http://www.mathworks.com/products/matlab-coder/ MATLAB Coder> that can...

13年以上 前 | 1

| 採用済み

回答済み
Import excel to matlab
[~, sheets, ~] = xlsfinfo('myfile.xls'); gives a cell array of sheets for i = 1:length(sheets) %create variabl...

13年以上 前 | 0

回答済み
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 ...

13年以上 前 | 0

回答済み
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...

13年以上 前 | 0

回答済み
fmincon
I would start with typing doc fmincon for the documentation on the function. It might be easier to use <http://www.mathworks...

13年以上 前 | 0

回答済み
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

13年以上 前 | 1

| 採用済み

回答済み
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...

13年以上 前 | 0

回答済み
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> ...

13年以上 前 | 0

回答済み
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 ...

13年以上 前 | 1

| 採用済み

回答済み
Testing Neural Networks
use the outputs = sim(net,testinputs) where net is the trained neural net

13年以上 前 | 0

回答済み
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...

13年以上 前 | 1

回答済み
Using a text file to title a plot.
Try title([label char(10) 'x vs y']) % char(10) for newline

13年以上 前 | 0

| 採用済み

回答済み
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...

13年以上 前 | 1

回答済み
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); % ...

13年以上 前 | 0

回答済み
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...

13年以上 前 | 0

回答済み
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...

13年以上 前 | 0

| 採用済み

回答済み
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' ...

13年以上 前 | 0

回答済み
i want to create a error msage.
Use <http://www.mathworks.com/help/techdoc/ref/exist.html exist> if (~exist(filename,'file')) msgbox('File Not found'...

13年以上 前 | 0

| 採用済み

回答済み
Increment file name by adding numbers in a loop
Easy way to increment your filename is: filename = sprintf('%s_%d','filename',k)

13年以上 前 | 6

| 採用済み

回答済み
Arduino to Matlab Real time plotting
The code above looks like an arduino sketch. Whats you MATLAB code to interface with it? Have you looked at <http://www.mathw...

13年以上 前 | 0

回答済み
The Data Acquisition Toolbox does not recognize my PCI-DAC6703 board
Have you installed InstaCal from measurement computing?

13年以上 前 | 0

回答済み
How to add variables created in function to workspace?
one option is <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/assignin.html assignin>

13年以上 前 | 1

回答済み
Convert A String Into a MATLAB Variable Name
There is a MATLAB function to do this: <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/genvarname.html genvarname> ...

13年以上 前 | 0

回答済み
Serial Port & Bluetooth
You can read/write on the same COM port. The trick to checking whether data is being sent or received by the serial port and you...

13年以上 前 | 0

| 採用済み

回答済み
set deploytool for compile activex
You can compile GUI's and other MATLAB programs that make calls to activex controls into exe's using the MATLAB compiler. What y...

13年以上 前 | 2

| 採用済み

回答済み
Running Matlab script from Excel
With the spreadsheet Link EX installed, you should be call your custom MATLAB code using the Add-in. Click on MATLAB Add-in ...

13年以上 前 | 0

| 採用済み

回答済み
Mex File problems with 2010a
<http://www.mathworks.com/matlabcentral/answers/9479-c-0x-in-mex try this answer> Also google, there are solutions to this

13年以上 前 | 0

回答済み
CPLEX-MATLAB LICENSE
I would suspect that this would depend on the license agreement with CPLEX

13年以上 前 | 0

回答済み
MATLAB with JAVA
I am not sure what you mean by a simple signal in Java. But here is a simple example: --> Java Code import java.lang.*; ...

13年以上 前 | 0

| 採用済み

さらに読み込む