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

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 1

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

alrededor de 15 años hace | 0

| aceptada

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

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 0

| aceptada

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

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 2

| aceptada

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

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 1

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

alrededor de 15 años hace | 0

| aceptada

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

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 2

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

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 0

| aceptada

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

alrededor de 15 años hace | 1

| aceptada

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

alrededor de 15 años hace | 0

| aceptada

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

alrededor de 15 años hace | 0

| aceptada

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

alrededor de 15 años hace | 10

| aceptada

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

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 0

| aceptada

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

alrededor de 15 años hace | 0

| aceptada

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

alrededor de 15 años hace | 0

| aceptada

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

alrededor de 15 años hace | 1

Cargar más