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

mehr als 15 Jahre vor | 1

| akzeptiert

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 1

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 0

| akzeptiert

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 2

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 0

| akzeptiert

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

mehr als 15 Jahre vor | 0

| akzeptiert

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

mehr als 15 Jahre vor | 3

| akzeptiert

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

mehr als 15 Jahre vor | 0

| akzeptiert

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 1

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 0

Beantwortet
compiling without dos screen
mcc -e myfile.m

mehr als 15 Jahre vor | 0

| akzeptiert

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 0

| akzeptiert

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 2

| akzeptiert

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

mehr als 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 1

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

mehr als 15 Jahre vor | 0

Mehr laden