Answered
Simulink Discrete FIR Filter
I attempted to answer a similar question at http://www.mathworks.com/matlabcentral/answers/1602-discrete-fir-filter-for-embedded...

15 years ago | 1

| accepted

Answered
Matrix Manipulation in Simulink
I'm assuming that by "edit", you really mean "manipulate". If you've read the data from Excel into a MATLAB workspace variable, ...

15 years ago | 0

Answered
Discrete FIR Filter for Embedded Targets
The sample time parameter is typically only significant for simulation. For code generation, what matters is the relative rates ...

15 years ago | 1

Answered
Excel 2010 Add In
See <http://www.mathworks.com/support/solutions/en/data/1-C53IJP/index.html?product=EL&solution=1-C53IJP Solution#1-C53IJP>

15 years ago | 0

Answered
array I/O with compiled MATLAB
You need to create mxArrays - see an example <http://www.mathworks.com/help/toolbox/compiler/f2-972343.html here>.

15 years ago | 0

Answered
RTW generated code on windows not compiling on linux
You are probably missing some files from the Simulink/RTW environment - using the <http://www.mathworks.com/help/toolbox/rtw/ug/...

15 years ago | 0

Answered
How do I detect whether the MATLAB instance being used has a command line interface?
For compiled applications, you can check _isdeployed_.

15 years ago | 0

Answered
Simulink model to VHDL Code generation
You need <http://www.mathworks.com/products/slhdlcoder/ Simulink HDL Coder>

15 years ago | 0

| accepted

Answered
Run Sysgen model on a cluster
Did you mean that you want the model to be distributed across the cluster? Unfortunately, that is currently not possible. Howeve...

15 years ago | 0

Answered
Word COM - writing text into this open document
Once you start Word as a COM server from MATLAB, it is basically just a matter of invoking methods from the MS Word COM API. The...

15 years ago | 2

Answered
ssGetPWork doesnt work in callbacks mdlInitializeSizes and mdlInitializeSampleTimes
I don't believe that work vectors are even allocated until after mdlSetWorkWidths - mdlInitializeSizes and mdlInitializeSampleTi...

15 years ago | 0

Answered
Use of JavaBuilder to Build Java-Matlab Related Application
Install the MCR on your target machine - you can locate the installer by typing 'mcrinstaller' at your MATLAB command prompt.

15 years ago | 0

| accepted

Answered
Standalone console windows in Windows 7 64bit
Did you compile as a "Windows Standalone Application" instead of "Standalone Application"?

15 years ago | 0

| accepted

Answered
Run MATLAB faster using the Parallel Computing Toolbox
Parallel Computing Toolbox can only handle 8 workers. AFAIK, you must get MATLAB Distributed Computing Server for more.

15 years ago | 3

| accepted

Answered
Debugging with matlab shared libraries -
According to <http://www.mathworks.com/support/solutions/en/data/1-VSTIJ/index.html Tech Solution 1-VSTIJ>, it may not be possib...

15 years ago | 0

| accepted

Answered
How can I get and set variables like PID parameters in a Simulink model from an mfile?
You can log data from Simulink using the <http://www.mathworks.com/help/toolbox/simulink/slref/toworkspace.html To Workspace> bl...

15 years ago | 0

Answered
Variable into block "from workplace"
1) Yes. Essentially, the data defined in Davide's answer looks like this: data = 1 1 2 2 3 ...

15 years ago | 1

Answered
HDL generator problems
Did you use the FFT block from the Simulink HDL Coder library: hdldemolib?

15 years ago | 0

Answered
Stand alone executable command prompt
Build as "Windows Standalone Application"

15 years ago | 0

Answered
How do I have RTW EC run a batch file directly after code generation?
You can achieve this sort of thing for your own custom target using the 'after_tlc' hook of the <http://www.mathworks.com/help/...

15 years ago | 0

Answered
Plotting in a GUI in RTW
RTW generates code for embedded systems - MATLAB graphics are therefore not supported in generated code. In fact, documentation ...

15 years ago | 0

Answered
C shared library created with Compiler - compatibility between Linux distributions
I wouldn't expect any potential issues with that.

15 years ago | 0

Answered
compiling without dos screen
mcc -e myfile.m

15 years ago | 0

| accepted

Answered
Compiling MEX files with Visual C++ 2010 with matlab2009a
The most reliable thing to do is get a supported compiler: http://www.mathworks.com/support/compilers/release2009a/

15 years ago | 0

Answered
converting std::vector type to mwArray
mwArray a(1, myvect.size(), mxDOUBLE_CLASS); a.SetData(&myvect[0], myvect.size());

15 years ago | 0

| accepted

Answered
Dimension of fields in mwArray structs?
I think what you're declaring is really a 2x2 matrix of structures with two fields: field1 and field2. You could try the alte...

15 years ago | 0

Answered
2D Array Constant in Simulink
As long as you resolve the constant value to a workspace variable (and not inline the value into the Constant block's dialog par...

15 years ago | 2

| accepted

Answered
Parallel Simulation
It looks like some SimEvents functions needed for block initialization are not sent to the worker. You could try following the p...

15 years ago | 0

Answered
Why does EMLMEX generate a slow mex file?
MATLAB uses the JIT/Accelerator and highly optimized BLAS routines for FFT, so it is likely that the code runs much faster in MA...

15 years ago | 1

Answered
Is it possible to send a file from 1 PC and store it on another via a network from MATLAB?
If one of the PCs is an FTP server, you can use <http://www.mathworks.com/help/techdoc/ref/ftpclass.html ftp>.

15 years ago | 0

Load more