Risposto
How to interface Stateflow charts with Bus signals
Yes, this should be possible. Please see <http://www.mathworks.com/help/stateflow/ug/defining-stateflow-structures.html Define S...

quasi 13 anni fa | 1

| accettato

Risposto
Linking Simulink with m.file in MATLAB
You need to create a Simulink block that will execute your MATLAB code as part of the model. Please see the section <http://www....

quasi 13 anni fa | 0

Risposto
Simulink block mask popup
Yes, this is possible, and it looks like you have the methodology correct. There is also some documentation at <http://www.mathw...

quasi 13 anni fa | 0

| accettato

Risposto
simulink coder, initialize Simulink.Bus top level input ports
I haven't tried this, but I wonder if you could use <http://www.mathworks.com/help/simulink/ug/initializing-signals-and-discrete...

quasi 13 anni fa | 0

Risposto
set_param() equivalent inside Simulink?
In general, it is discouraged to change a block's parameter from another block (see the blog post <http://blogs.mathworks.com/se...

quasi 13 anni fa | 1

| accettato

Risposto
Set Connection Port Parameters with matlab code
If the block in an Inport/Outport, I believe they have parameters named 'Port', so you need: set_param([Block_name '/phase ...

quasi 13 anni fa | 0

Risposto
Bus signals as Input to S-function
It's not the name of the signal that is required, but the name of the bus *type*. This is needed because S-functions only suppor...

quasi 13 anni fa | 0

| accettato

Risposto
How to Convert Simulink Model to .dll in order to use with .Net framwork?
You need the <http://www.mathworks.com/products/embedded-coder/ Embedded Coder> product to generate <http://www.mathworks.com/he...

quasi 13 anni fa | 0

Risposto
Initialization problem of the mask parameter when migrating from 2009a 2 2010b
If the name of the mask parameter is 'CI', I don't think you need to initialize CI again. I think it should already be holding t...

quasi 13 anni fa | 0

| accettato

Risposto
In Simulink, Matlab Function, how to save a variable at the end of the simulation?
I think the only way to have access to internal data of a MATLAB Function block is to create an output to the function and assig...

quasi 13 anni fa | 0

| accettato

Risposto
initializing simulink parameters from simulink
This is typically done in the PostLoadFcn callback of the model as described on <http://blogs.mathworks.com/seth/2008/12/25/init...

quasi 13 anni fa | 0

Risposto
How to initialize the size of a Simulink vector with a constant block
If 'N' changes during simulation, it essentially means that the size of the signal (Nx1) changes *during* simulation. These type...

quasi 13 anni fa | 0

Risposto
Get the parent Model like the Menu command "Go To Parent"
This is undocumented, so use with caution because there is a possibility it won't work in all (past/future) releases: >> ge...

quasi 13 anni fa | 1

Risposto
I want to connect the constant number block in simulink to workspace window
Please see <http://www.mathworks.com/help/simulink/ug/exporting-simulation-data.html#bsw6lgg Approaches for Exporting Signal Dat...

quasi 13 anni fa | 1

Risposto
how can I usa clapack or lapack in S function?
I'm assuming you meant a C-MEX S-function? If so, please see <http://www.mathworks.com/help/matlab/matlab_external/calling-lapac...

quasi 13 anni fa | 0

Risposto
Simulink controlling problem, i want to make a action that conteracts the logic that triggers the action.
I think this should be possible. How about you use an <http://www.mathworks.com/help/simulink/ug/enabled-subsystems.html Enabled...

quasi 13 anni fa | 0

Risposto
Student Version Missing Functions Audioread and Spectrogram
It appears that <http://www.mathworks.com/help/matlab/ref/audioread.html audioread> should be part of MATLAB, and <http://www.ma...

quasi 13 anni fa | 0

Risposto
way to rename rtwtypes.h file
I don't there is current infrastructure that lets you rename rtwtypes.h automatically. However, you might be able to achieve thi...

quasi 13 anni fa | 0

Risposto
How to output an array as the output of an sfunction?
You should just need to configure your S-function so that the numbers of output signals is 2, instead of 1, and set the output s...

quasi 13 anni fa | 0

| accettato

Risposto
Is it possible to change a workspace value during simulation?
Yes, that should be possible as long the the parameter is marked as tunable (which it is by default, I think). You will need to ...

quasi 13 anni fa | 0

| accettato

Risposto
Vector shift block in simulink?
I don't know of such a block in Simulink, but you should be able to use the equivalent MATLAB function <http://www.mathworks.com...

quasi 13 anni fa | 0

| accettato

Risposto
How to create a simulink block from an m file?
In newer releases, 'Embedded MATLAB Function' has been renamed to 'MATLAB Function' and 'MATLAB Function' has been renamed to 'I...

quasi 13 anni fa | 2

Risposto
aggregate simulation output (continuous signal values)
Perhaps you need something like the <http://www.mathworks.com/help/dsp/ref/buffer.html Buffer> block? If you don't have access t...

quasi 13 anni fa | 0

Risposto
put a .m file into the simulink ,why can't work?
Since you have declared |calllib| as an extrinsic function using |coder.extrinsic|, Simulink is unable to determine the type of ...

quasi 13 anni fa | 10

| accettato

Risposto
UnHighlighting a subsytem in a Simulink model
Do you have the path to the block(s) that was used with the |hilite_system| command? If yes, this might work to undo the highlig...

quasi 13 anni fa | 0

Risposto
Setting Look Up Table parameter 'Table' from GUI using set_param
The code in the GUI Callback creates variables in the callback function workspace. Do you run the simulation from the function o...

quasi 13 anni fa | 0

| accettato

Risposto
How can I compile an executable in Simulink on Windows to run from Matlab on Linux or from a Linux command line?
# The rsim.tlc is meant for rapid prototyping on a machine where MATLAB/Simulink is installed, and therefore does not generate c...

quasi 13 anni fa | 0

Risposto
MCR error while running MATLAB command
The MCR is a collection of MATLAB runtime libraries that can be invoked from a binary created using <http://www.mathworks.com/pr...

quasi 13 anni fa | 0

Risposto
seeking help regarding executing matlab compiled .exe from a c++ code
It might be more appropriate to create a shared library (DLL) from your MATLAB code, rather than an executable. Please refer to ...

quasi 13 anni fa | 0

Risposto
adding a toolbox library to simulink
Please see <http://www.mathworks.com/help/simulink/ug/adding-libraries-to-the-library-browser.html Add Libraries to the Library ...

quasi 13 anni fa | 0

Carica altro