Answered
How to have simple text in a matrix
Use <http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_prog/br04bw6-98.html cells> A ={'text1','text2'}; A(1) a...

14 years ago | 0

Answered
file handling between different functions.
Just pass the fid from function to function. function A(filename) fid = fopen(filename,'w'); % call function ...

14 years ago | 0

Answered
C++0X in mex
This is basically because a new char16_t type conflicts with a type defined by MATLAB's header file in matrix.h. I found plenty...

14 years ago | 0

Answered
importing variables in compiled package
Why don't you save the variables in a MAT file and just include the file when compiling it! Better way would be for your compile...

14 years ago | 0

Answered
Basic question: how to find range of index values
I am not exactly clear about the question, but may be this is a starting point: mydata = [1 1 2 3 4 5 6 1 1 45 67 8 9 1 36...

14 years ago | 0

Answered
CTF file in Standalone application
I have answered your question at: <http://www.mathworks.com/matlabcentral/answers/9358-is-it-possible-to-delete-the-folder-st...

14 years ago | 1

Answered
Is it possible to delete the folder structure of standalone application created since CTF file?
Actually, this structure is not automatically deleted. You can specify a temp directory where this would be extracted by specify...

14 years ago | 0

| accepted

Answered
Changing font size using xlabel
Well it works for me! I would suggest you try: h = xlabel(text,'FontSize',30); get(h) and examine the properties. ...

14 years ago | 0

Answered
Create listener / Interrupt to detect new CAN message
The CAN interface itself provides for <http://www.mathworks.com/help/toolbox/vnt/ug/messagereceivedfcncount.html MessageReceived...

14 years ago | 0

Answered
Does database command work with windows 7 64 bit.
If you have 64 bit MATLAB then you should use 64 bit ODBC drivers (which I think Office 2010 provides).

14 years ago | 0

Answered
analog output error using MCC USB-1408fs
I found a couple of references to this on the CSSM: <http://www.mathworks.com/matlabcentral/newsreader/view_thread/269318> ...

14 years ago | 0

| accepted

Answered
matlab interface
A quick look at the manual: <http://www.aps.anl.gov/Xray_Science_Division/Optics_and_Detectors/Detector_Pool/Equipment_Inform...

14 years ago | 0

Answered
Problems using "digitalio" with National Instruments NI 9401 CompactDAQ-Modul
So basically, you need to follow either of the 2 examples: Generates data in the foreground: <http://www.mathworks.com/help/...

14 years ago | 2

| accepted

Answered
Problems using "digitalio" with National Instruments NI 9401 CompactDAQ-Modul
To add on more to Laura's answer: Data Acquisition Toolbox supports CompactDAQ only with its new session based interface. Curr...

14 years ago | 0

Answered
mex -setup; compilers list
VS 2010 is supported in MATLAB R2010a via a patch <http://www.mathworks.com/support/solutions/en/data/1-D5W493/?solution=1-D5W49...

14 years ago | 1

Answered
Connecting PostgreSQL with MATLAb using mex wrapper
I was able to compile the program successfully using the following: mex testfunction.c -IC:\MatlabWork\Answers\pgsql\inclu...

14 years ago | 0

| accepted

Answered
Read data from CSV files
Try using textscan to read your data. <http://www.mathworks.com/help/techdoc/ref/textscan.html> Typical usage: fid = ...

14 years ago | 0

Answered
Accessing data in a struct retrieved from engGetVariable
Hi Sean, Here's my trivial example: #include <stdlib.h> #include <stdio.h> #include <string.h> #include "engine...

14 years ago | 2

Answered
saving an image to disk
imwrite(data,filename,'png') <http://www.mathworks.com/help/techdoc/ref/imwrite.html>

14 years ago | 0

Answered
Reading from a text file
function rev_data = sampleread filename = 'data.txt'; fid = fopen('data.txt','r'); % Use TEXTSCAN and not textrea...

14 years ago | 0

| accepted

Answered
Data Acquisition from a force plate
The error is probably due to the fact that you have set TriggerConditions set(AI,'TriggerChannel',chan(3)); set(AI,'Tr...

14 years ago | 1

| accepted

Answered
Interpreting a struct returned by engGetVariable
You should be able to use mx* struct functions to manipulate and traverse your structure. bool mxIsStruct(const mxArray *pm...

14 years ago | 0

| accepted

Answered
Matlab Component Runtime MCR 7.0
If you have the original source code for the application, you can recompile the application with R2010b. If not, then you can...

14 years ago | 0

| accepted

Answered
NIDAQ continuous and background acquisition
Hi Nuno, There are number of ways to achieve this: 1) Use some global data function acquireData global data s =...

14 years ago | 10

| accepted

Answered
Why is the pause button interfering with the exit button when pause is pressed?
You might be actually looking for uiwait and uiresume functionality instead of pause <http://www.mathworks.com/access/helpdes...

14 years ago | 0

Answered
Attempt to call external dll function causing segmentation fault
Regarding who accepted the answer, I have no idea. I was able to download the dll from the usbmicro website, but was unable to...

14 years ago | 0

Answered
parsing errors in loadlibrary in win 64
This is probably because on Win64 platforms for loadlibrary, MATLAB only supports the following compilers: <http://www.mathwork...

14 years ago | 0

| accepted

Answered
Attempt to call external dll function causing segmentation fault
Actually, it might show up as a cstring. In that case, basically its char* about is a return type and all you need to pass it is...

14 years ago | 0

| accepted

Answered
Database toolbox: username and password problem
Have you set up an ODBC datasource for your Access database? <http://www.mathworks.com/help/toolbox/database/gs/braiey2-1.htm...

14 years ago | 0

| accepted

Answered
MATLAB applications compatibility with Mobile platforms"URGENT PLZ"
The MCR has the same minimum requirements as required by MATLAB. So I am guessing no! <http://www.mathworks.com/support/sysre...

14 years ago | 1

Load more