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

quasi 14 anni fa | 2

| accettato

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 5

| accettato

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 4

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 2

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 5

| accettato

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 5

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 3

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 16

| accettato

Carica altro