Respondida
How does the maximum and minimum step size affect the simulation of a model?
It appears that you are using a Variable-step solver, please read <http://www.mathworks.com/help/simulink/ug/choosing-a-solver.h...

casi 13 años hace | 2

Respondida
S functions. Creating a Simulink Block, failing at returning a pointer to an array (S-functions)
I think you need to re-write |moving_sum| as the following: void moving_sum(double ptr[], static unsigned int n_avg, doub...

casi 13 años hace | 0

| aceptada

Respondida
Matlab standalone executable run on computers which don't have matlab installed
As Sean mentioned, if the target machines have the MCR installed, you can use the MATLAB Compiler product to create standalone a...

casi 13 años hace | 1

Respondida
Determine Path of Mex S function from the C/C++ mex code
In MATLAB, you can look up the full path to any given file using the MATLAB function <http://www.mathworks.com/help/matlab/ref/w...

casi 13 años hace | 1

| aceptada

Respondida
What are the Simulink Coder limitations?
I know that the "Block Data Type Support Table" has a column for "Code Generation Support" which indicates when there are except...

casi 13 años hace | 1

| aceptada

Respondida
Simulink :: Change the number of continous-states during simulation
No, the number of states (continuous/discrete) needs to be configured in the |setup| method, and cannot change during simulation...

casi 13 años hace | 0

Respondida
Problem in writing TLC file for Matlab Level2 M file s function
No, you do need to write a TLC file to generate code from a MATLAB S-function. If your algorithm is simple enough to write as a ...

casi 13 años hace | 0

| aceptada

Respondida
Code Generation Questions for Simulink
# Yes, you can customize the <http://www.mathworks.com/help/ecoder/ref/code-generation-pane-templates.html source/header file te...

casi 13 años hace | 0

Respondida
Guidelines to port Simulink Code to specific Target (Custom Machine)
Yes, you are correct on both points. You may want to refer to the documentation on <http://www.mathworks.com/help/rtw/target-ext...

casi 13 años hace | 1

| aceptada

Respondida
How to invert the index of a vector in Simulink?
If you have the DSP System Toolbox installed, you can use the <http://www.mathworks.com/help/dsp/ref/flip.html Flip> block to fl...

casi 13 años hace | 1

| aceptada

Respondida
how can I replace a block?
Please see <http://www.mathworks.com/help/simulink/slref/replace_block.html replace_block>.

casi 13 años hace | 1

Respondida
Matlab/Simulink with Google Analytics?
Not sure, but if you know of equivalent MATLAB/C APIs, you can create your own <http://www.mathworks.com/help/simulink/ug/types-...

casi 13 años hace | 0

Respondida
how to make simulink matlab function work
In this case, the output signal of the block has varying dimensions (ie. size changes during execution of the model). Such signa...

casi 13 años hace | 2

Respondida
Can we generate macro function in code, using simulink model and RTW EC auto coder ?
The closest thing that I can think of is to increase the <http://www.mathworks.com/help/simulink/gui/optimization-pane-signals-a...

casi 13 años hace | 0

Respondida
functions not supported by simulink coder
Unfortunately, this function is not in the <http://www.mathworks.com/help/simulink/ug/functions-supported-for-code-generation--a...

casi 13 años hace | 0

Respondida
Help with Simulink system?
Based on your problem description, it seems like <http://www.mathworks.com/products/simevents/ SimEvents> is the right product f...

casi 13 años hace | 0

| aceptada

Respondida
Error using set_param to set parameters for LUT from inside a function in GUI
I think the issue may be that most Simulink parameters need to be set as strings when using set_param. For example, this won't w...

casi 13 años hace | 0

Respondida
Matlab simulink GUI interface
Yes, you can use the <http://www.mathworks.com/support/tech-notes/1900/1903.html Simulink command-line API> to call into your mo...

casi 13 años hace | 0

Respondida
missing headers and typedef in code generated by embedded coder from Simulink
Please see <http://blogs.mathworks.com/seth/2008/11/26/wheres-the-code/ this blog post> to see how you can collect all the requi...

casi 13 años hace | 0

Respondida
What's the procedure for submitting suggested improvements for future releases?
Create a Service Request with the details of your request and license & version information from this page: http://www.mathworks...

casi 13 años hace | 0

| aceptada

Respondida
For SIMULINK level-1 S function how to address two inputs which are matrices
Since Level-1 MATLAB S-functions only have one input, you'll need to concatenate A and B to supply them as the input. Your index...

casi 13 años hace | 0

| aceptada

Respondida
How to communicate with Simulink from within a function?
Please see my answer to a similar question <http://www.mathworks.com/matlabcentral/answers/52227 here>.

casi 13 años hace | 0

| aceptada

Respondida
Use input vector S-function to define initial conditions x0()
No, this is not possible. At the time that the block Initialize method runs, none of the block's Output methods have fun. So wha...

casi 13 años hace | 0

Respondida
call MEX-Funcion in a simulink userdefined block
MEX-functions can essentially be called just like any other MATLAB function. Please see the available <http://www.mathworks.com/...

casi 13 años hace | 1

Respondida
Use of idss data in a level-2 S-function
You cannot output this datatype from your S-function, but please see the following discussions for help with implementing the al...

casi 13 años hace | 0

Respondida
Simulink Dataset - Saving and Loading back into Simulink
It seems like you should be able to import that data back into another model using the <http://www.mathworks.com/help/simulink/u...

casi 13 años hace | 0

Respondida
Calling Simulink from C code
You can use the <http://www.mathworks.com/support/tech-notes/1900/1903.html Simulink command-line interface> to invoke Simulink ...

casi 13 años hace | 0

Respondida
How do I feed data into a simulink model from a .m file?
You can either use a <http://www.mathworks.com/help/simulink/slref/fromworkspace.html From Workspace> block or <http://www.mathw...

casi 13 años hace | 0

Respondida
newbie in simulink model
How about a <http://www.mathworks.com/help/simulink/slref/logicaloperator.html NOT> block followed by a <http://www.mathworks.co...

casi 13 años hace | 0

Respondida
how to integrate arduino with MATLAB?
<http://www.mathworks.com/support/solutions/en/data/1-HCE464/index.html?solution=1-HCE464 This page> has information about what ...

casi 13 años hace | 0

Cargar más