답변 있음
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...

거의 13년 전 | 2

답변 있음
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...

거의 13년 전 | 0

| 수락됨

답변 있음
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...

거의 13년 전 | 1

답변 있음
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...

거의 13년 전 | 1

| 수락됨

답변 있음
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...

거의 13년 전 | 1

| 수락됨

답변 있음
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...

거의 13년 전 | 0

답변 있음
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 ...

거의 13년 전 | 0

| 수락됨

답변 있음
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...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 1

| 수락됨

답변 있음
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...

거의 13년 전 | 1

| 수락됨

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

거의 13년 전 | 1

답변 있음
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-...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 2

답변 있음
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...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 0

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

거의 13년 전 | 0

| 수락됨

답변 있음
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...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 0

| 수락됨

답변 있음
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...

거의 13년 전 | 0

| 수락됨

답변 있음
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>.

거의 13년 전 | 0

| 수락됨

답변 있음
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...

거의 13년 전 | 0

답변 있음
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/...

거의 13년 전 | 1

답변 있음
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...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 0

답변 있음
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 ...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 0

답변 있음
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 ...

거의 13년 전 | 0

더 보기