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

mehr als 14 Jahre vor | 0

Beantwortet
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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 4

| akzeptiert

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

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 4

| akzeptiert

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 2

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 2

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

mehr als 14 Jahre vor | 1

| akzeptiert

Mehr laden