Respondida
Simulink Limit Integral Saturation Limit Dynamic Input
As you have found out, the Limited Integrator block from the Simulink Library only takes the saturation limits as a parameter, a...

más de 14 años hace | 2

| aceptada

Respondida
How to solve higher order polynomial roots in Simulink faster in Rapid Accelerator Mode?
Sorry, the MATLAB Function related blocks were recently renamed (see http://www.mathworks.com/matlabcentral/answers/36656-what-k...

más de 14 años hace | 1

Respondida
Looking for the RTW support
There are <http://www.mathworks.com/products/simulink-coder/demos.html several resources> linked off of the Simulink Coder (form...

más de 14 años hace | 0

Respondida
Matlab Coder and the uint64 size_t
If you have access to the Fixed-Point Toolbox, it looks like you might be able to get around the limitation the declaring the ou...

más de 14 años hace | 1

| aceptada

Respondida
Weird issue from a simulink model (a simple sfunction block in series to a switch) Could it be a bug on Matlab 7.8 (2009a) ?
What you are seeing is expected behavior. As you know, all Simulink blocks (like S-functions) have several methods, which are ru...

más de 14 años hace | 1

| aceptada

Respondida
How do you programmatically invoke model callbacks?
Kind of a hack, but this should work: >> eval(get_param(bdroot, 'PreLoadFcn'))

más de 14 años hace | 1

| aceptada

Respondida
C2000 Embeded IDE Link Issue on 64 bit Windows
I think you could try installing 32-bit MATLAB on your 64-bit machine and see if that allows you to connect to CCS. Although, ac...

más de 14 años hace | 0

Respondida
Real Time Simulation and HIL
AFAIK, the only HIL solution directly available from MathWorks is xPC Target. Please refer to the <http://www.mathworks.com/help...

más de 14 años hace | 0

Respondida
How can we share a data between simulink and stateflow where the data is not input to stateflow chart?
You mean besides as inputs OR parameters? The Data Store Memory block is <http://www.mathworks.com/help/releases/R2011b/toolbox/...

más de 14 años hace | 0

| aceptada

Respondida
setting the size of output port for Level-2 Matlab functions
I'm not sure if I understand your question correctly. Did you mean that you'd like to have a variable-sized output, or did you w...

más de 14 años hace | 0

Respondida
What do you mean by "Inlining s-function"?
Typically C S-functions are separate MEX-files (DLLs) - if you do not inline them (by providing a TLC-file for it), then the gen...

más de 14 años hace | 5

| aceptada

Respondida
. What is the meaning of "Zero based indexing/one based indexing" in multiport switch?
The phrases are pretty standard AFAIK. Zero based indexing means the first port is referred to by index=0, One based indexing me...

más de 14 años hace | 1

| aceptada

Respondida
Using Workspace data in Matlab function block - SIMULINK
If the maps are very large, you can use them as global data inside MATLAB Function blocks <http://www.mathworks.com/help/release...

más de 14 años hace | 4

Respondida
. What is System Target File? How does it affect the code generation?
<http://www.mathworks.com/help/releases/R2011b/toolbox/rtw/ug/bse3c7m-1.html This page> has information about the role of System...

más de 14 años hace | 0

| aceptada

Respondida
How many ways can we create a user-defined-data type
I know of three ways: # Alias types using <http://www.mathworks.com/help/releases/R2011b/toolbox/simulink/slref/simulink.alia...

más de 14 años hace | 2

| aceptada

Respondida
Data-type 'Bool' is unsupported for HDL code generation
Seems like this might be a Xilinx System Generator limitation. It might be best if you try contacting Xilinx Support, because no...

más de 14 años hace | 0

Respondida
Embedded Matlab function, simulink loop
How about if you insert a Unit Delay block in the feedback loop?

más de 14 años hace | 0

Respondida
Embedded MATLAB Function
It looks like Simulink can't find "nmake.exe" on the system PATH, which is the make utility that ships with Visual Studio. Have ...

más de 14 años hace | 0

Respondida
Using LibBlockParameter() into a conditional directive %if
I'm wondering if the problem is that you need to do string comparison instead of using the == operator. Since I can't think of a...

más de 14 años hace | 0

| aceptada

Respondida
Building model error (Invalid run-time parameter)
There is a <http://www.mathworks.com/support/bugreports/259277 Bug Report> with the same issue that says the bug was fixed in R1...

más de 14 años hace | 1

Respondida
COM generic components and mclInitializeApplication of MatlabRuntime
I'm assuming you use MATLAB Builder NE to generate the COM component? I haven't done this myself, but looking at the programming...

más de 14 años hace | 0

| aceptada

Respondida
Any way to figure out what your blocks are connected to in a model?
Get the block's port handles using: ph = get_param(gcb, 'PortHandles') Examine ph.Inport and ph.Outport to get the handl...

más de 14 años hace | 5

| aceptada

Respondida
S-function for reading the Lego NXT compass sensor
You just need to make sure to have all the right #includes and use the right compiler/linker flags. Pretty much what you might n...

más de 14 años hace | 0

| aceptada

Respondida
replace_block and load_system
Yes, you should be able to replace blocks using <http://www.mathworks.com/help/toolbox/simulink/slref/replace_block.html replace...

más de 14 años hace | 1

| aceptada

Respondida
How to find the Process ID (PID) in matlab
There is an undocumented (but relatively well-known) function: >> feature getpid

más de 14 años hace | 5

Respondida
All Toolboxes failed to run after new installation
I would recommend contacting MathWorks Installation Support for free support regarding setup issues.

más de 14 años hace | 0

Respondida
Is possible to collect a string in the mask ? (Embedded Coder)
Yes, I think this should be possible if you register the parameter as nontunable. You will need to implement the mdlRTW method i...

más de 14 años hace | 3

| aceptada

Respondida
Running referenced model in parent model
You should probably use an <http://www.mathworks.com/help/toolbox/simulink/ug/f4-84107.html Enabled Subsystem> and create a cont...

más de 14 años hace | 0

Respondida
Error evaluating 'InitFcn' callback of create Ethernet block
I don't know anything about using the xPC Ethernet blocks, but the error message seems to say that you need to add a Network Buf...

más de 14 años hace | 1

Respondida
Set Simulink model simulation stop time from m file
You can set_param for the model also: set_param('modelname', 'StopTime', '3000')

más de 14 años hace | 16

| aceptada

Cargar más