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

circa 15 anni fa | 0

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

circa 15 anni fa | 0

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

circa 15 anni fa | 0

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

circa 15 anni fa | 0

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

circa 15 anni fa | 0

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

circa 15 anni fa | 1

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

circa 15 anni fa | 0

| accettato

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

circa 15 anni fa | 0

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

circa 15 anni fa | 0

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

circa 15 anni fa | 0

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

circa 15 anni fa | 0

| accettato

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

circa 15 anni fa | 0

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

circa 15 anni fa | 2

| accettato

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

circa 15 anni fa | 0

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

circa 15 anni fa | 1

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

circa 15 anni fa | 0

| accettato

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

circa 15 anni fa | 0

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

circa 15 anni fa | 2

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

circa 15 anni fa | 0

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

circa 15 anni fa | 0

| accettato

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

circa 15 anni fa | 1

| accettato

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

circa 15 anni fa | 0

| accettato

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

circa 15 anni fa | 0

| accettato

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

circa 15 anni fa | 10

| accettato

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

circa 15 anni fa | 0

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

circa 15 anni fa | 0

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

circa 15 anni fa | 0

| accettato

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

circa 15 anni fa | 0

| accettato

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

circa 15 anni fa | 0

| accettato

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

circa 15 anni fa | 1

Carica altro