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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 5

| akzeptiert

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 3

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

Mehr laden