已回答
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...

15 years 前 | 0

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

15 years 前 | 0

已回答
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...

15 years 前 | 0

已回答
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...

15 years 前 | 0

已回答
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...

15 years 前 | 0

已回答
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...

15 years 前 | 1

已回答
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...

15 years 前 | 0

| 已接受

已回答
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. ...

15 years 前 | 0

已回答
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...

15 years 前 | 0

已回答
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).

15 years 前 | 0

已回答
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> ...

15 years 前 | 0

| 已接受

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

15 years 前 | 0

已回答
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/...

15 years 前 | 2

| 已接受

已回答
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...

15 years 前 | 0

已回答
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...

15 years 前 | 1

已回答
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...

15 years 前 | 0

| 已接受

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

15 years 前 | 0

已回答
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...

15 years 前 | 2

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

15 years 前 | 0

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

15 years 前 | 0

| 已接受

已回答
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...

15 years 前 | 1

| 已接受

已回答
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...

15 years 前 | 0

| 已接受

已回答
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...

15 years 前 | 0

| 已接受

已回答
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 =...

15 years 前 | 10

| 已接受

已回答
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...

15 years 前 | 0

已回答
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...

15 years 前 | 0

已回答
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...

15 years 前 | 0

| 已接受

已回答
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...

15 years 前 | 0

| 已接受

已回答
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...

15 years 前 | 0

| 已接受

已回答
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...

15 years 前 | 1

加载更多