回答済み
Trouble understanding the Flip block in Simulink
When you are importing a data vector in your Simulink model, it reads the data vector one by one, sample by sample and executes ...

6ヶ月 前 | 0

回答済み
Integrator State Port: Why is its use restricted?
"This doesn't work as naively expected because the integrator reset occurs before the Triggered Subsystem can copy the result. S...

6ヶ月 前 | 0

質問


What is a 'Code Dictionary'?
Hi all I want to add a reference of a data dictionary to another data dictionary, but I am getting the following error: ...

6ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
Why Do Some Blocks in the Discrecte Library Not Have a Sample Time Parameter?
The discrete blocks you mention inherit their sample time from the blocks they are connected to. The Difference block for exampl...

6ヶ月 前 | 0

回答済み
Simulink bug - adding a PID only to scope creates large fluctuations
Your solver settings change when you uncomment the PID(s). If you fix the solver to ode45 for example, the simulation runs ok. Y...

6ヶ月 前 | 0

| 採用済み

質問


Change Simulink.Parameter inside Simulink model
Hi all I am using Simulink.Parameter objects stored inside a Data Dictionary to parameterize my model. They have a default valu...

6ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
How can i remove data points from an array in simulink ?
If you have the code to perform it in MATLAB, you can use an embedded matlab function. Stateflow also seems like a good candida...

6ヶ月 前 | 0

回答済み
parsim workspace variables problem
Please see the question and answer here: https://nl.mathworks.com/matlabcentral/answers/446894-why-is-my-variable-undefined-when...

6ヶ月 前 | 1

| 採用済み

回答済み
Sine Wave display data
You can use the Clock block to get the execution time. Then use a comparison block, which compares the execution time with your ...

6ヶ月 前 | 0

回答済み
Simulink filtering of a table
Use a Direct Lookup Table with 5 dimensions.

6ヶ月 前 | 0

回答済み
Tapped delay function with varying size in Simulink
Hi Swati I have tested a few things and I don't think it is an easy problem to solve. I have personally never used the Tapped ...

6ヶ月 前 | 0

| 採用済み

回答済み
Is it possible to model synchronous machines merely with controlled sources, s-functions and R L C components?
You are looking to model the synchronous machine equivalent circuit. Look online for how the circuit looks and build the blocks....

6ヶ月 前 | 0

回答済み
How to export all the variables stored in .mat file into xls file
There are various options: more info here.

6ヶ月 前 | 0

回答済み
Simulink raise model output to 1.5 power
You need to use the Math block and select the 'pow' function. Alternatively, you can use the Fcn block and use u(1)^1.5 if you ...

6ヶ月 前 | 0

回答済み
The output value of discrete PID controller is NaN
Check the block 'Rotation Order: ZYX'. Does it work properly?

7ヶ月 前 | 1

回答済み
Code generation targets for referenced models
Are you thinking about a certain setting in the Configuration Parameters which may be in conflict? It is certain that both need...

7ヶ月 前 | 0

| 採用済み

回答済み
What is the difference between build, deploy & start and build button on embedded coder?
Build means that MATLAB generates C-code from your Simulink model. Deploy means that the generated C-code is deployed (placed) ...

7ヶ月 前 | 0

| 採用済み

回答済み
Hyperlink in Excel cell to open Simulink model?
You can launch Matlab from Windows system prompt, see the documentation. Maybe you can find a way to execute a command line code...

7ヶ月 前 | 0

回答済み
Making the dashboard scope scroll
Go to the configuration properties of the scope block, and set the 'Time span overrun action' to 'Scroll' instead of 'Wipe'.

7ヶ月 前 | 0

回答済み
How to select port in Multi Switch ?
Since you are using look-up tables with the monthly data anyway, I assume that the data for for example August will be zero in t...

7ヶ月 前 | 0

質問


Array as a #define instead of scalar
Hi all I want to use a small array as a Storage Class 'define': However, when I use this in my model and try to generate cod...

7ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
Data variants in Simulink Data Dictionary
I would suggest to put the Simulink.Parameter variables inside a separate Data Dictionary. Then, create two seperate files of th...

7ヶ月 前 | 1

回答済み
How can I exctract 2 values from a 1-by-3 array in Simulink ?
Use a Demux block with three outputs to extract the three signals, and then another Mux block with two inputs to combine the two...

8ヶ月 前 | 0

回答済み
Column-by-Column (SIMULINK)
You need the Selector block to capture the column you need, and then a Trigger Subsystem which executes on your command. You can...

8ヶ月 前 | 1

| 採用済み

回答済み
Geoplot map low resolution
There are higher resolution maps available with version R2019b, without needing the Mapping Toolbox. You can change the base map...

8ヶ月 前 | 0

回答済み
Power–frequency swing equation
You have the implementation wrong. It should be like this:

8ヶ月 前 | 0

回答済み
How to limit operating element size of array in Simulink
The difficulty with referenced models is that they should be reusable inside other models with the exact same input and output i...

8ヶ月 前 | 0

| 採用済み

回答済み
Which block are those? form simulink.
Purely based on your screenshot, not on the dynamics you want to achieve: Pink is 'Sign' Blue is 'Dead zone' in series with 'S...

8ヶ月 前 | 0

回答済み
Why there is a problem coming in the connection although I am using a Voltage sensor compatible block for this?
Also, you are mixing Simscape Electrical and Simscape Specialized Power Systems. They don't mix.

9ヶ月 前 | 0

Load more