Answered
Can Measurement Computing USB1208FS DAQ be used for data acquistion Real Time application?
Walter's response details the limitations of using MATLAB directly for real-time processing. However, it appears that the Data A...

14 years ago | 0

Answered
How to create two pop-up in Simulink ?
See this Technical Solution for an example: http://www.mathworks.com/support/solutions/en/data/1-2RO027/index.html

14 years ago | 0

| accepted

Answered
How to find Matlab version to be used in the mex file header
You can use the ver command to obtain version information in MATLAB: >> v=ver('MATLAB') v = Name: 'MATLAB' ...

14 years ago | 0

Answered
Calling C functions in MATLAB
This <http://www.mathworks.com/support/tech-notes/1600/1605.html MEX-files Guide> is a great place to get started. And <http://w...

14 years ago | 1

Answered
S-function
See a previously answered question here: http://www.mathworks.com/matlabcentral/answers/16879-what-s-the-best-approach-for-learn...

14 years ago | 1

Answered
How to operate a variable in simulink?
If you're using the Memory Allocate block, it appears that you need to use the <http://www.mathworks.com/help/toolbox/ecoder/ref...

14 years ago | 0

| accepted

Answered
Error in simulation: Simscape
I'm not familiar with physical modeling using SimScape products, but there is an existing Solution that hints at possible issues...

14 years ago | 0

| accepted

Answered
%1 is not a valid Win32 application. (libfftw31.dll)
It seems like this kind of error can occur if you have the wrong version of the fftw libraries on your system PATH - did you ins...

14 years ago | 0

| accepted

Answered
s functions causing build errors
Do you have access to ApplyFILT_1stOrderLag_flt.c? Does it contain a function/variable called ApplyFILT_1stOrderLag_flt? If not,...

14 years ago | 0

Answered
Suppress warnings when using mexw32
It's not clear to me whether the warning is coming from MATLAB or the MEX-function. Assuming that MATLAB is throwing the warning...

14 years ago | 0

Answered
Not able to integrate Matlab and VC++
You are confused between two completely different Mathworks technologies: # MEX-functions are used to call native code (C, C+...

14 years ago | 0

Answered
How can I cosimulate Simulink & embedded processor development environments - any ideas?
I think you mean Processor-in-the-Loop (PIL) simulation, which the Embedded Coder does support for some targets: http://www.math...

14 years ago | 0

Answered
Structure input to Mex file question
Inputs to MEX-files are simply passed in as if it were a MATLAB function. So you need to construct the same structure type in MA...

14 years ago | 4

| accepted

Answered
realtime object tracking with webcam in Simulink
Like Walter explained in his comment, MATLAB/Simulink are not exactly suited to perform "real-time" processing in the client mod...

14 years ago | 1

| accepted

Answered
ReQuestion: passing information/parameters from Simulink to embedded code generated
As the documentation suggests, <http://www.mathworks.com/help/toolbox/simulink/sfg/sswritertwparamsettings.html ssWriteRTWParamS...

14 years ago | 4

| accepted

Answered
Problem connecting CCS v3.3 and Simulink
If you're on a 64-bit machine, please ensure that you also have installed 64-bit MATLAB (type "mexext" to see if the returned ar...

14 years ago | 1

Answered
MEX file help for a complicated C program
You need to create a mexFunction wrapper to call into your entry function. See <http://www.mathworks.com/help/techdoc/matlab_ext...

14 years ago | 0

Answered
How to express inner product of two vectors in Stateflow action language?
Try the function <http://www.mathworks.com/help/techdoc/ref/times.html times> for inner product of two vectors.

14 years ago | 1

| accepted

Answered
developing inline s-function driver block
Did you add the S-function and corresponding TLC to a directory under the $matlabroot/toolbox folder by any chance? If yes, you ...

14 years ago | 1

| accepted

Answered
Usage of Blkproc function in matlab
Try using it as blkproc(img,[7 7],@()f); and see if the error goes away. Since "f" does not have any output arguments, you don't...

14 years ago | 0

Answered
mexAtExit and static variables
You should consider declaring your persistent variable X as an mxArray, since you are using MATLAB-managed memory anyway. mxArra...

14 years ago | 0

| accepted

Answered
Image Processing on vertex 5
The <http://www.mathworks.com/products/slhdlcoder/ Simulink HDL Coder> product can be used to generate HDL code from Simulink mo...

14 years ago | 0

Answered
MEX-equivalent of INPUTNAME
I don't think there is a MEX-API function that is the equivalent, but you can always use mexCallMATLAB to dispatch the call to M...

14 years ago | 0

| accepted

Answered
code generation for simulink models
Only fixed-step solvers are supported for code-generation, because variable-step solvers "go back" in simulation time to adjust ...

14 years ago | 2

| accepted

Answered
Sinulink S-function block blank parameter error-MATLAB2011b
Could you try changing that to: set_param([modelName '/' modelName '_HW_block'], 'DesignName', modelName); You shouldn'...

14 years ago | 0

Answered
How to declare a global variable in a large Simulink model?
It appears that what you need is a <http://www.mathworks.com/help/toolbox/simulink/slref/datastorememory.html Data Store Memory>...

14 years ago | 0

Answered
Code generation from Simulink model
You may find this Technical Solution useful: http://www.mathworks.com/support/solutions/en/data/1-27DUK5/

14 years ago | 0

Answered
MATLAB Function Interface Error
It looks like the error is about the output of the MATLAB Function block. Have you configured it as a variable-size signal and s...

14 years ago | 0

Answered
Load MAT file Error
As the warning says, it appears that you have an object of type bioma.data.DataMatrix in your MAT-file, but you do *not* have th...

14 years ago | 2

Answered
loadlibrary calls lcc by default
Yes, I believe in R2010b and earlier versions, the use of LCC to parse symbols is the default behavior of LOADLIBRARY. However, ...

14 years ago | 1

| accepted

Load more