已回答
How can I make the simulink model run autonomously on the card without the need to have it connected to my PC?
You should be able to do this with the <https://www.mathworks.com/hardware-support/raspberry-pi-simulink.html Simulink Support P...

7 years 前 | 0

已回答
Variablen in Simulink definieren (ohne Matlab)
My answer is in English, I hope it is OK... Have you looked into the model callbacks of that model? This is typically where M...

7 years 前 | 0

已回答
SImulink do not terminate
Yes. You should reduce the amount of logged data in the Data Import/Export section of the model's configuration parameters. Ther...

7 years 前 | 1

| 已接受

已回答
Where are the other equations in my simscape block?
As your error message states: Node TemperatureIncrease.B is possibly missing a branch statement for domain variable ...

7 years 前 | 0

| 已接受

已回答
I am trying to start parpool with 4 workers but when I execute parpool(4) it only connects me to one worker. Can you provide help regarding this?
You can check the maximum number of computational threads by typing the following in MATLAB. >> maxNumCompThreads Is the...

7 years 前 | 0

已回答
How can we simulate a simscape model at restricted mode?
"Restricted Mode" means that you can simulate blocks from Simscape add-on tools (like Simscape Electronics, Simscape Multibody, ...

7 years 前 | 0

已回答
How to use Lucas-Kanade and Horn-Schnuck optical flow functions in 2017a
There actually are examples! Check out the links under "Topics > MATLAB Workflow" at this page: <https://www.mathworks.com/he...

7 years 前 | 0

已回答
What Auto Code Generation Products are required for SIMULINK
You will need MATLAB Coder, Simulink Coder, and Embedded Coder. Really, you just need Embedded Coder but the other 2 are pre-...

7 years 前 | 1

已回答
What do "D1" and "inf" mean in the attached fig?
These are labels given to the sample times in the model, when you enable sample time display. * D1 refers to the first (fast...

7 years 前 | 0

已回答
how to give the values for step block in simulink through command window.
While |set_param| is certainly an option, I'd highly recommend that you create a MATLAB variable, e.g. |finalValue| in the works...

7 years 前 | 1

已回答
How can I model Double Acting, Double Rod hydraulic cylinder?
Yes. Simscape Fluids (formerly SimHydraulics) has a Double-Acting Hydraulic Cylinder block: <https://www.mathworks.com/help/p...

7 years 前 | 0

已回答
why the current divider doesn't work on simulink?
Your current sensor needs to be in *series* with the resistor. If you place it in parallel, as in your screenshot, you're essent...

7 years 前 | 0

| 已接受

已回答
System Identification toolboxとSimulinkについて
Apologies that my answer is in English. I hope this is OK. If you go into the Simulink Library Browser, go to the System Iden...

7 years 前 | 4

| 已接受

已回答
Simulink ignores Query Instrument sample time
You're right that Simulink simulations run as fast as possible by default. If you want to slow this down so your instrument ...

7 years 前 | 1

| 已接受

已回答
How do you change install directory for supportpackageinstaller
There is a MATLAB preference for the add-on install folder. See this screenshot (R2017a). <</matlabcentral/answers/uploaded_f...

7 years 前 | 1

已回答
Plot loop n variables
This is happening because the syntax |A{1}| doesn't mean you're accessing a variable named |A1|. It's accessing the first elemen...

7 years 前 | 2

| 已接受

已回答
what is the difference between .mdl and .slx files and full form of mdl and slx?
.mdl is the legacy file format. Simulink models switched to the newer .slx format in 2012. Whereas .mdl files are single text...

7 years 前 | 12

| 已接受

已回答
How to split divide an array on specific sections?
You can do this with <https://www.mathworks.com/help/matlab/matlab_prog/find-array-elements-that-meet-a-condition.html logical i...

7 years 前 | 0

| 已接受

已回答
Simulink Linear Analysis Pole/Zero Plots
Based on the staircase step response, looks like your system is discrete. This means that stability is inside the unit circl...

7 years 前 | 0

| 已接受

已回答
How to implement interp2 within Simulink
There is a 2-D Lookup Table block where you can enter 2 vectors for the breakpoints and a 2-D matrix for the table data. See her...

7 years 前 | 0

已回答
Simulink - Set and use global variable for use in settings
Absolutely. All you need to do is define a variable in the MATLAB workspace, for example: >> Vcc = 5; ... and then any b...

7 years 前 | 1

| 已接受

已回答
Writing Penality function in GA
You can use the |gamultiobj| function to pass in both your penalty functions separately. <https://www.mathworks.com/help/gads...

7 years 前 | 0

已回答
Transition condition of Stateflow as Parameter
Yes, this approach does work. If you create data in Stateflow, you can set its "Scope" to "Parameter". When you update t...

7 years 前 | 0

已回答
Long initializing time when using the Robotics System Toolbox
Hi Benedict, There was a bug with |rosinit| initialization times in R2017a, specifically for Windows 10 machines (is that wha...

7 years 前 | 1

| 已接受

已回答
Where can i get all programatic options to access Simulink data inspector
Under the Simulink documentation, there is a list of all functions. In particular, there is a "Simulation -> View and Analyze Si...

7 years 前 | 1

已回答
Using Robotics Toolbox in Simulink with Multiple Robots
Actually, the multiple ROS master support only works for MATLAB workflows, and not Simulink... In MATLAB, you can create mult...

7 years 前 | 0

已回答
infinite while loop in MATLAB code
What stops you from putting the contents of multiple loops in a single while-loop? Another option is to use <https://www.math...

7 years 前 | 0

已回答
How to build a screw model by simscape?
It's not too bad to get a basic screw model, actually. I think a combination of Rotational Friction (for the screw threading)...

7 years 前 | 0

| 已接受

已回答
In SIMULINK, how can I get the time corresponding to my particular output of of a function block?
I would use a <https://www.mathworks.com/help/simulink/ug/triggered-subsystems.html Triggered Subsystem> to do this. The subsyst...

7 years 前 | 2

| 已接受

已回答
How to efficiently access data from ROS PoseArray Messages?
I think you can do this... try: b = [msg.Poses] - Sebastian

7 years 前 | 0

加载更多