Top 1% contributor
2 years 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...
5 years ago
There are number of ways to achieve this:
1) Use some global data
Answered 5 years ago
full_filename = fullfile(str_fol1,str_fol2,filename);
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...
6 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!
Hi R C, I think it is possible for the compiler to take that much time, especially when there are multiple toolboxes installed....
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....
7 years ago
Hi Martin, For capturing images with cameras, MATLAB has a separate toolbox: Image Acquisition Toolbox. This Toolbox is availab...
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, 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...
This could be possible if MS provides a COM interface for oneNote like it does for other Office applications like Excel and Word...
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries