Beantwortet
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...

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 1

Beantwortet
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...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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. ...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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).

fast 15 Jahre vor | 0

Beantwortet
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> ...

fast 15 Jahre vor | 0

| akzeptiert

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

fast 15 Jahre vor | 0

Beantwortet
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/...

fast 15 Jahre vor | 2

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 0

Beantwortet
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...

fast 15 Jahre vor | 1

Beantwortet
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...

fast 15 Jahre vor | 0

| akzeptiert

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

fast 15 Jahre vor | 0

Beantwortet
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...

fast 15 Jahre vor | 2

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 1

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
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 =...

fast 15 Jahre vor | 10

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 0

Beantwortet
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...

fast 15 Jahre vor | 0

Beantwortet
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...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 1

Mehr laden