回答済み
Simscape animation of Mass-spring-damper system
Yes this can be done, but there are multiple ways of doing this. For once you can use the Block "Spring and Damper Force". Ther...

約3年 前 | 0

回答済み
Pyramid shape solid in Simscape Multibody
No this is not possible. Creating a Pyramid in CAD and using this is the way to go here. In a rudimentary use case it could be...

約3年 前 | 0

回答済み
why matlab slow on more good spec PC
It seems that you went from a desktop PC to a notebook. Your "new" i9 processor is actually about 20% slower than your "older" i...

約3年 前 | 1

回答済み
Access Simulink logging data during a simulation run
This is possible. The Code below shows a possibility to do this with one signal. Obviously you have to replace 'my_model' and 'm...

約3年 前 | 0

| 採用済み

回答済み
Is 'Arduino Nano 33 BLE Sense Rev2' hardware board compatible with Simulink?
Maybe you can check the steps provided in this thread: https://de.mathworks.com/matlabcentral/answers/1603060-can-not-connect-ha...

約3年 前 | 0

回答済み
gradient with irregular grid
You can give the positions of the corresponding values as the second function argument. In your case the lattitude for each temp...

約3年 前 | 0

解決済み


Find The area of the square
Given that the length of the side of a square is x, find the area.

約3年 前

回答済み
How to simulate grabbing an object on Simscape Multibody?
I made a very simple example for you (see attachment). In general a "spatial contact force"-block has to be between all bodies ...

約3年 前 | 0

| 採用済み

回答済み
Bar3 crahes by plotting a cell array in a loop
I think it is not quite clear what your result should be. One of your "doubles"-matrecies is already enough to plot a 3D-Bar plo...

約3年 前 | 0

| 採用済み

回答済み
How to test MPU6050 with arduino Uno in simulink?
I wrote a pretty detailed answer regarding this Question on the follwing forum post: https://de.mathworks.com/matlabcentral/ans...

3年以上 前 | 0

回答済み
MPU6050 Arduino Uno Simulink
You need the "Simulink Support Package for Arduino Hardware" (Can be installed as Add-On) Use the "MPU6050 IMU Sensor"-Block fr...

3年以上 前 | 1

回答済み
SENSOR_INIT_ERROR: MPU6050 IMU Sensor for Arduino Mega 2560 in Simulink
I tried the same thing and got the same problem. I tested with an Arduino Mega and UNO. Both had the same problem! With the MATL...

3年以上 前 | 0

回答済み
How do I troubleshoot issues with disabling the Windows Hyper-V feature for Simulink Desktop Real-Time?
The accepted solution did not work for me. I found the solution for my problem here: https://superuser.com/a/1702614/1218362 "G...

3年以上 前 | 2

回答済み
How to call element of matrix of symbolic variables
Since the code answer is a bit hidden in the comments I'm posting the solution as full code here: syms th1(t) Lc1 tc1(t) = [...

約4年 前 | 8

回答済み
Symbolic vectors 'invalid variable name'
In my R2021b version your code works without an error. And the output is like one would expect: syms a [1 4] display(a)

約4年 前 | 0

回答済み
How do I create a UDP Server in Simulink?
At the moment (28.10.2021) Simulink has no functionality to read out sender/client ip and port. I got this functionality with a ...

4年以上 前 | 0

| 採用済み

回答済み
How to create array of linearly spaced values from starting and ending points
I want to add the same function/functionality for Simulink. Since the given answer does not seem to work with a Simulink Matlab-...

5年弱 前 | 0

回答済み
Error when import urdf file into simulink.
This error happens if no robot name is defined in the urdf file! The first line of the urdf file should look something like thi...

5年弱 前 | 0

質問


How do I create a UDP Server in Simulink?
Question I'm trying to create an UDP-Server with Simulink. I found many differend UDP-Send and UDP-Receive/UDP-Read Blocks in S...

5年弱 前 | 1 件の回答 | 0

1

回答

回答済み
I am making a UDP server using Matlab to communicate with UDP client using Tiva C (by code composer) through ethernet cable , the client and server are on the same laptop but the tiva c IP address is 192.168.1.200
Here is an example using udpport() since udp() will be removed in a future release! Here PORT is the port of the server the dat...

5年弱 前 | 1

回答済み
Error reading VRML file: ***.wrl: Can't open file for reading.
For me the problem was the path. One folder contained a #-symbol which caused the error. Even if the path is relative a # in the...

約5年 前 | 1

回答済み
Macaulay functions in MUPad
Not quite the solution you are looking for, but it is certainly possible to use the heaviside function. The heaviside function i...

6年弱 前 | 0