Answered
Real Time ODE Solver
None of the operating systems that MATLAB is supported on (Windows, Mac, Linux) are real-time operating systems, so there is no ...

14 years ago | 0

Answered
Structure in simulink and Embedded MATLAB Function
Are you working with the demo model named 'emldemo_bus_struct'? If yes, what version are you using? I'm asking because in R2011b...

14 years ago | 0

| accepted

Answered
problem about block choose in simulink
There is the <http://www.mathworks.com/help/toolbox/simulink/slref/mathfunction.html Math Function> block for generic exp(u) cal...

14 years ago | 0

Answered
Create two different masks for a subsystem
AFAIK, there's no way to create multiple masks for a block. The best you can do to change the appearance of your mask is to swap...

14 years ago | 0

| accepted

Answered
R2010a MATLAB Integration with CCS
I think you need CCS 3.3.

14 years ago | 0

| accepted

Answered
How to display blocks of a custom library in the Simulink library browser?
As Titus mentioned, if you have your slblocks.m configured, the blocks should show up. Are your blocks all subsystems? If yes, d...

14 years ago | 0

Answered
Tx and Rx length
The error appears to be fairly self-explanatory, but perhaps you should specify if you're running one of the demo models, or if ...

14 years ago | 0

Answered
openFcn callback in library blocks
Does the block appear in the library browser if you don't configure the OpenFcn? It seems like the more likely issue is that you...

14 years ago | 0

Answered
Real Time workshop static variables?
You need to define a <http://www.mathworks.com/help/releases/R2011b/toolbox/ecoder/ug/f6010dfi1.html Custom Storage Class> and a...

14 years ago | 0

| accepted

Answered
Embedded Matlab Fuction Access of Subsystem Mask Parameters
Embedded MATLAB Function Block parameters need to have the same name as the variable that holds its value, so you need to define...

14 years ago | 0

Answered
Find variable in Simulink blocks
The particular error that you are seeing is about t_total being undefined, but in general, you do need to define all variables b...

14 years ago | 5

| accepted

Answered
How do I specify the struct type name that Simulink code generator creates for a workspace structure
I think you need to use <http://blogs.mathworks.com/seth/2008/04/29/nonvirtual-bus-signals/ non-virtual buses> to have the gener...

14 years ago | 1

Answered
Is it possible to design filter with MCR only without having MATLAB s/w?
Functionality supported with MATLAB Compiler is listed here: http://www.mathworks.com/products/compiler/compiler_support.html ...

14 years ago | 0

Answered
p-code function
It is possible to generate code from .p files as long as the author of that code specified the <http://www.mathworks.com/help/re...

14 years ago | 3

Answered
Should I use system update block or RTW S-function?
Do you mean that you want to update the parameter value during execution? I don't think this is possible, because you are trying...

14 years ago | 0

| accepted

Answered
(RunTimeDataType*) notation is a cast? pointer and -> operator for sfunction
In the <http://www.mathworks.com/help/releases/R2011b/toolbox/simulink/sfg/f4-90256.html#f4-90354 example> that you are referrin...

14 years ago | 0

| accepted

Answered
Simulink-USRP N210 problem
I don't know anything about USRP support, but you need to download the support package from http://www.mathworks.com/discovery/s...

14 years ago | 0

Answered
How to compile a library for linking with a mexfunction?
You can call your library build make commands from MATLAB using the <http://www.mathworks.com/help/techdoc/ref/system.html syste...

14 years ago | 1

| accepted

Answered
Jacobian of simulink model
AFAIK, it is not possible to set the Jacobian matrix of a model - it is computed based on the blocks that it contains. Individua...

14 years ago | 0

Answered
How to feed the output of a user defined embedded function back into one of the inputs?
Connecting an output back as an input will cause <http://www.mathworks.com/help/toolbox/simulink/ug/f7-8243.html#f7-19688 algebr...

14 years ago | 0

Answered
Simulink mex s-function: rename in/output port from c-code?
Try <http://www.mathworks.com/help/toolbox/simulink/sfg/ssgetpath.html ssGetPath> to get the block path instead of gcb.

14 years ago | 1

| accepted

Answered
Procedure calls from Stateflow
I haven't done this myself, but you might find this documentation page useful: <http://www.mathworks.com/help/releases/R2011b/to...

14 years ago | 0

Answered
how to put a matlab script in a simulink bloc
To call MATLAB code from a Simulink model, you need to use one of the three <http://www.mathworks.com/help/toolbox/simulink/ug/b...

14 years ago | 0

Answered
how to integrate LIBSVM with matlab in Windows 32 bit?? very urgent ..pls help
You need to install one of the supported versions of the Visual Studio C++ compiler. See the last column corresponding to your v...

14 years ago | 0

| accepted

Answered
Legacy C code function o/p mismatch in simulink
It's hard to tell just from your description, but it looks like you might not be setting up your S-function correctly. What is y...

14 years ago | 0

Answered
Signal Mismatch
As the error message says the "receiver expecting signal type real but is being drive by signal type complex" - you could insert...

14 years ago | 0

Answered
port width or dimensions
Looks like a block downstream to 'w6/Cross Product1/a' is expecting a matrix/vector input, but this block is giving it a scalar ...

14 years ago | 0

Answered
Execute matlab with MCRinstaller
You cannot run a 64-bit executable on a 32-bit computer, so it's best that you compile your executable using 32-bit MATLAB so th...

14 years ago | 0

Answered
Simulink doubt
It's not clear exactly what you're trying to do, but my best bet is to suggest the <http://www.mathworks.com/help/toolbox/simuli...

14 years ago | 0

Answered
Image Processing to Signal Processing
You can generate C/HDL code for MATLAB code that only uses <http://www.mathworks.com/help/toolbox/eml/ug/bq1h2z7-11.html functio...

14 years ago | 0

Load more