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

quasi 13 anni fa | 2

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

quasi 13 anni fa | 0

| accettato

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

quasi 13 anni fa | 1

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

quasi 13 anni fa | 1

| accettato

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

quasi 13 anni fa | 1

| accettato

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

| accettato

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 1

| accettato

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

quasi 13 anni fa | 1

| accettato

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

quasi 13 anni fa | 1

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 2

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

| accettato

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

| accettato

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

quasi 13 anni fa | 0

| accettato

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

quasi 13 anni fa | 0

| accettato

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 1

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

Carica altro