回答済み
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...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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 ...

11年以上 前 | 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...

11年以上 前 | 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 ...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 1