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

etwa 14 Jahre vor | 2

| akzeptiert

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

etwa 14 Jahre vor | 1

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 1

| akzeptiert

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

etwa 14 Jahre vor | 1

| akzeptiert

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

etwa 14 Jahre vor | 1

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 5

| akzeptiert

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

etwa 14 Jahre vor | 1

| akzeptiert

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

etwa 14 Jahre vor | 4

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 2

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 1

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 5

| akzeptiert

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 1

| akzeptiert

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

etwa 14 Jahre vor | 5

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 3

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 1

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

etwa 14 Jahre vor | 16

| akzeptiert

Mehr laden