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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 1

| aceptada

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 1

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

más de 8 años hace | 0

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

más de 8 años hace | 1

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

más de 8 años hace | 0

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 4

| aceptada

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

más de 8 años hace | 1

| aceptada

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

más de 8 años hace | 1

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

más de 8 años hace | 2

| aceptada

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

más de 8 años hace | 12

| aceptada

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 0

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

más de 8 años hace | 1

| aceptada

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 1

| aceptada

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

más de 8 años hace | 1

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 2

| aceptada

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

más de 8 años hace | 0

Cargar más