답변 있음
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년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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 ...

8년 초과 전 | 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...

8년 초과 전 | 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, ...

8년 초과 전 | 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...

8년 초과 전 | 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-...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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 ...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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...

8년 초과 전 | 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)...

8년 초과 전 | 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...

8년 초과 전 | 2

| 수락됨

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

8년 초과 전 | 0

더 보기