已回答
Embedded Coder for Motor Control Blockset?
The Embedded Coder toolbox is not available for Student licenses of MATLAB. https://www.mathworks.com/products/matlab/student.h...

4 years 前 | 0

已回答
Rotationa to translation movement conversion - WITHOUT Simscape toolboxes
Doesn't it make sense to just connect the speed profile on the linear velocity source, and use a regular Simulink Gain block to ...

4 years 前 | 0

| 已接受

已回答
How to give time in hours in simulink?
Can you set the sampling time of your model to 3600, such that it calculates once every hour?

4 years 前 | 0

已回答
strange and supicious behaviour of embedded coder for generated code optimization
Check your Embedded Coder Configuration Settings. You can for example try to check 'Inline invariant signals' and set the 'Defau...

4 years 前 | 0

已回答
Simulink simulation won't start on Raspberry Pi3 in External Mode
Do you have certain firewall settings possibly blocking the connection with the RPi? I have had this before that it seemed to b...

4 years 前 | 0

已回答
Simulink: is there a way to only run a block once a (non-zero) signal arrives to it?
Use an Enabled subsystem and use a 'Compare To Zero' block to feed the enable port. If you want the subsystem to only execute o...

4 years 前 | 0

| 已接受

已回答
simulink model zoom in R2020
I am not using R2020, but the shortcut for it is 'space'.

4 years 前 | 0

| 已接受

已回答
help, with code generation for TI C2000
Hi Carlos If the issue is just that some states and/or transitions you have programmed in Stateflow do not appear in the genera...

4 years 前 | 0

| 已接受

提问


Toolbox to check Enumeration cast from uint16
Hi all I am running a simulation wherein I am using a Simulink Enumerated type. So I have defined a limited amount of enumerate...

4 years 前 | 0 个回答 | 0

0

个回答

已回答
How to get a threshold in Simulink that works in both directions and that make an action once per passing
There are multiple ways to do it. I would do it like this. It might inspire you. The variable State should be initialised to 100...

4 years 前 | 0

提问


Change Simulink.Parameter ExportedGlobal from inside Simulink model
Dear all I am developing a controller model which I have put inside a Model Reference. I store all my Simulink.Parameter and Si...

4 years 前 | 1 个回答 | 0

1

个回答

已回答
Variant Subsystems control by Model Workspace variables?
You can create a Simulink.Variant variable and put it inside a Data Dictionary, and then link this Data Dictionary to the model....

4 years 前 | 0

已回答
Combine Simulink Signals with Different Data Types Without Using a Bus
A Bus serves the purpose of being able to combine signals with different data types. If you do not like the visual way of using ...

4 years 前 | 0

| 已接受

已回答
what's a block of code and function block in simulink?
Use a triggered subsystem. Alternatively, you can also use a function-call subsystem.

4 years 前 | 0

已回答
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 ...

4 years 前 | 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...

4 years 前 | 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: ...

4 years 前 | 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...

4 years 前 | 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...

4 years 前 | 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...

4 years 前 | 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...

4 years 前 | 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...

4 years 前 | 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 ...

4 years 前 | 0

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

4 years 前 | 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 ...

4 years 前 | 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....

4 years 前 | 0

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

4 years 前 | 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 ...

4 years 前 | 0

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

4 years 前 | 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...

4 years 前 | 0

| 已接受

加载更多