Top 1% contributor
9 months ago
You need to add the MATLAB header search paths: in Xcode: Go to Project->Edit Project Settings. Then open the Build Tab and se...
3 years ago
There are number of ways to achieve this:
1) Use some global data
Answered 4 years ago
full_filename = fullfile(str_fol1,str_fol2,filename);
Answered 3 years ago
I am assuming you are using loadlibrary!
If that's the case, then you can load your VS project (that created the C/C++ DLL) a...
So basically, you need to follow either of the 2 examples:
Generates data in the foreground:
You can try using the putdata function. You can get more information about it by typing doc putdata on the MATLAB ...
Hi Lakshmi, Couple of things to check: 1) I am assuming that you are using Builder NE created DLL in your app. Can you ensure...
4 years ago
Hi, Try using MWNumericArray as shown below: http://www.mathworks.com/help/toolbox/dotnetbuilder/ug/brys492-1.html HTH Chirag...
You also need to include the NIDAQmx lib in the mex command: mex yourfile.c NIDAQmx.lib This should do the trick!
This would stem from the difference between Value classes and handle classes.
Its explained here:
This is possible. Here is some sample code:
ai = analoginpt(....);
% Add channels and set it up
% Use S...
In MATLAB, a method would typically have a signature:
classdef test1234 < handle
properties (Access = public)
This should work! You might need to tweak it slightly!
hExcel = actxserver('Excel.Application');
hExcel.visible = 1; % If y...
The latest version of MATLAB (R2011a) has product called <http://www.mathworks.com/products/matlab-coder/ MATLAB Coder> that can...
If it's Win 7 or Visat, try starting MATLAB in admin mode. Right click on MATLAB icon and select run as admin
You can compile GUI's and other MATLAB programs that make calls to activex controls into exe's using the MATLAB compiler. What y...
Check this <http://www.mathworks.com/matlabcentral/answers/2753-robot-simulation-of-rrr-robot answer> for a starting point.
This is because when you select multiple files, filename becomes a cell array of file names.
The operator == will error on a ce...
The error is probably due to the fact that you have set TriggerConditions
Hi Kitty, This is a known issue with MATLAB Compiler in R2009b. Check the Bug Report: ( it contains a workaround) http://www....
5 years ago
Hi R C, I think it is possible for the compiler to take that much time, especially when there are multiple toolboxes installed....
With the iPhone, using the <http://itunes.apple.com/us/app/ip-cam/id333208495?mt=8 App suggested by Ashish above (IP Cam)>, you ...
Easy way to increment your filename is:
filename = sprintf('%s_%d','filename',i)
There are a couple of MATLAB products that are useful for the same. In addition with the MATLAB Compiler as mentioned above by J...
Here's my trivial example:
Hi Martin, For capturing images with cameras, MATLAB has a separate toolbox: Image Acquisition Toolbox. This Toolbox is availab...
Hi, The only thing that I would add is to set a TriggerConditionValue. Currently, from your code the way it is setup to start ...
This question is very open ended and depends on what you wish to do: 1) Do you want to be able to call C/C++ code from a MATLAB...
There are lots of options:
You should look at MATLAB as a COM Automation Server.
You should be able to start MATLAB from V...
Answered 8 months ago
Join the conversation