Answered
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...

8 years ago | 0

Answered
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...

8 years ago | 0

Answered
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...

8 years ago | 1

| accepted

Answered
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 ...

8 years ago | 0

| accepted

Answered
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...

8 years ago | 0

Answered
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, ...

8 years ago | 0

Answered
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...

8 years ago | 0

Answered
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-...

8 years ago | 1

Answered
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...

8 years ago | 0

Answered
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...

8 years ago | 1

Answered
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...

8 years ago | 0

Answered
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...

8 years ago | 0

| accepted

Answered
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...

8 years ago | 4

| accepted

Answered
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 ...

8 years ago | 1

| accepted

Answered
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...

8 years ago | 1

Answered
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...

8 years ago | 2

| accepted

Answered
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...

8 years ago | 12

| accepted

Answered
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...

8 years ago | 0

| accepted

Answered
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...

8 years ago | 0

| accepted

Answered
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...

8 years ago | 0

Answered
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...

8 years ago | 1

| accepted

Answered
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...

8 years ago | 0

Answered
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...

8 years ago | 0

Answered
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...

8 years ago | 1

| accepted

Answered
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...

8 years ago | 1

Answered
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...

8 years ago | 0

Answered
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...

8 years ago | 0

Answered
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)...

8 years ago | 0

| accepted

Answered
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...

8 years ago | 2

| accepted

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

8 years ago | 0

Load more