답변 있음
Method for determining height and width of a Simulink annotation
Hi Douglas, In Simulink, annotations are classified by <http://www.mathworks.com/help/simulink/slref/simulink.annotation.html...

12년 초과 전 | 0

답변 있음
SimHydraulics modeling beginner question
Hi Vanja, The SimHydraulics toolbox has a specific set of blocks that are designed to model pipelines with pressure different...

12년 초과 전 | 0

답변 있음
When do I need point operator when using power function?
The '.' syntax is used to denote <http://www.mathworks.com/help/matlab/ref/times.html element-wise multiplication>. What this me...

12년 초과 전 | 4

| 수락됨

답변 있음
Is it possible to generate a variable number of Simulink blocks?
Hi Shawn, Simulink is equipped with command line functionality for model creation. After experimenting with it a bit, you sho...

12년 초과 전 | 1

답변 있음
mkfilter 2nd order Bessel bug?
Hi, This does look to be a possible bug in MKFILTER. Fortunately, the code for MKFILTER is accessible. If you got to lines 60...

12년 초과 전 | 0

답변 있음
Lookup table as an input
Hi Alain, Unfortunately, the parameters within most of the Simscape blocks and all of the SimHydraulic blocks are not tunable...

12년 초과 전 | 0

| 수락됨

답변 있음
mex cc files in ubuntu system
Hi Zhang, Regarding the "I can't find file 'cascade'." error, the filename is 'cascade.cc' not 'cascade'. Try adding '.cc' ex...

12년 초과 전 | 0

답변 있음
How to use curve fitting to get transfer function in frequency domain?
Hi Siyu, Rather than go through the Curve Fitting toolbox, I recommend one of two other avenues. # Go directly to a linear...

12년 초과 전 | 0

답변 있음
Stateflow fails to compile after calling Simulink from a Matlab script
Hi Stefan, This is just a guess at this point but it could be possible that your path names are too long. The Windows maximum...

12년 초과 전 | 0

| 수락됨

답변 있음
Standalone GUI from Simulink MDL
Hi Andreas, Unfortunately, It is not possible to do this without the use of Embedded Coder. Here is an example of how one wou...

12년 초과 전 | 0

답변 있음
How can i use a 2-D lookup table as feedback for a Matlab Function Block?
Hi Lorenzo, Based on your explanation, it does not seem as though the two outputs of the MATLAB function block (Pratio and Ws...

12년 초과 전 | 0

답변 있음
Purpose or effect of "Use last table value for inputs at or above last breakpoint"?
The two options produce the same results. The only difference being how the results are being computed internally. Some users pr...

12년 초과 전 | 1

| 수락됨

답변 있음
Accurately Insert a Block in Simulink Model based on Mouse Position.
The system has parameters named 'ModelBrowserVisibility' and 'ModelBrowserWidth'. I would suggest checking if the visibility is ...

12년 초과 전 | 1

| 수락됨

답변 있음
how to run a MATLAB model through GUI
Hi Milan, If you save a model with the scopes open and then close the model, then the next time that you open that model, the...

12년 초과 전 | 0

답변 있음
In an assignment A(I) = B, the number of elements in B and I must be the same. this is the error i am getting
Hi Trilochan, MATLAB is a powerful resource for matrix indexing operations. Rather than loop through and assign each element ...

12년 초과 전 | 1

답변 있음
Is is possible to access the simulink block names in C-S-function.
Hi Priyanka, The <http://www.mathworks.com/help/simulink/sfg/ssgetpath.html ssGetPath> macro will allow you to get the full p...

12년 초과 전 | 0

| 수락됨

답변 있음
How do i solve the following simulation error??
Hi Paranshu, It is hard to say based on the information that is provided but it may be due to several reasons. Internally, th...

12년 초과 전 | 0

| 수락됨

답변 있음
Is there support in Matlab 2012b and up for using Bus objects in a level-2 M S-function??
Hi Erwin, Currently, there is no way to pass bus objects with varying data types into a level-2 MATLAB S-Function. I would su...

12년 초과 전 | 0

답변 있음
How to use linprog in Simulink?
Hi Avinash, Currently, both LINPROG and FMINCON are not supported for code generation. What is going on is that all of the co...

12년 초과 전 | 2

답변 있음
i cannot understand this problem
Hi Sherif, Regarding your error message: Unexpected or invalid block connection. This can arise when a library block cha...

12년 초과 전 | 0

| 수락됨

답변 있음
Multiport switch with code
Hi Muneer, Thanks to advances in the MATLAB execution engine, for loops such as the one above are really quite efficient. How...

12년 초과 전 | 2

| 수락됨

답변 있음
How to get Port Data Type inside a Masked Block
Hi Timothy, Unfortunately, the 'CompiledPortDataTypes' parameter is the only parameter that will give you the data types at e...

12년 초과 전 | 1