Respondida
How do I use the inputParser to validate my required input is a string from a defined set of acceptable strings?
Hello Bryan, validatestring doesn't return a logical matrix of validated values, it returns the full string that is matched. Wh...

alrededor de 6 años hace | 0

| aceptada

Respondida
Shrink size of body axes in show
Hello Jeff, I do not believe that there is currently an easy way to scale the reference frame coodinate-system indicators. You ...

alrededor de 6 años hace | 0

Respondida
draw a label in the scatter graph
You can use the text function to put labels at x-y coordinates. Name-value pairs can be used to determine where to place the lab...

alrededor de 6 años hace | 0

Respondida
ros custom messages not adding to rosmsg list
Hello Jacob, I have a few suggested solutions and trouble-shooting steps here. Did you restart MATLAB? That is necessary to loa...

alrededor de 6 años hace | 0

Respondida
Problem to load a path
I haven't seen this before, though it looks similar to this issue with opening files. If I were to guess at a solution... This ...

alrededor de 6 años hace | 1

Respondida
Newly installed 2019b does not open .fig files
Hey Brandon, It sounds like you are trying to open your figure files from outside of MATLAB (e.g. Windows Explorer), and it is ...

alrededor de 6 años hace | 0

| aceptada

Respondida
How to call variable (with index) using string?
Adam's suggestion really is the way to go about addressing the fundamental issue. In the meantime, if you want to get access to ...

alrededor de 6 años hace | 0

| aceptada

Respondida
Creating Pointcloud ROS message in Simulink
(Moved from comment to answer) This question about creating point cloud messages seems fairly similar, and the attached utiltie...

alrededor de 6 años hace | 0

Respondida
Updating ros messages for moveit!
Hello Pouria, Unfortunately, the MATLAB ROS custom message capabilities currently only support the "format 1" style for the pac...

alrededor de 6 años hace | 0

| aceptada

Respondida
I got some errors when I closed GUI. How do I fix it?
Hey Aaron, The error is likely because the code is trying to execute after you closed the figure window. Closing the figure des...

alrededor de 6 años hace | 0

Respondida
How can I assign different color and width in a subplot?
"hEB" doesn't seem to be assigned in the code snippet you posted. You're assigning "hEBA8", "hEBC5", and "hEBE1", but not the hE...

alrededor de 6 años hace | 0

Respondida
Trying to connect to an active node [ROS2]
There are two different factors in determining what is and isn't within a ROS 2 network. The first is the domain ID, and the sec...

alrededor de 6 años hace | 1

Respondida
HOW can I know the code of "prioEDF"which is used in the truetime-2.0?
It looks like TrueTime has a GitHub project where they keep their source code. I don't know if it's the latest, but it appears t...

alrededor de 6 años hace | 0

| aceptada

Respondida
robotics simulink simscape tools
Hello Janitha, I have limited experience with this, but I believe you should be able to use importrobot to get a RigidBodyTree ...

alrededor de 6 años hace | 0

| aceptada

Respondida
Change frame size in show(rigidbodyTree)
Hello Brian, If you don't have a mesh model to show on the robot, and only have the body lines, I believe you can get access to...

alrededor de 6 años hace | 1

Respondida
Working with Ouster Lidar and pointcloud2
Hello Julien, I haven't tried the Ouster data, but there are two options when reading messages from rosbag: you can read them i...

alrededor de 6 años hace | 0

| aceptada

Respondida
ROS Action Client in Simulink
I am afraid that it is currently not possible (as of R2019b), but I have passed along your suggestion to the relevant people. Th...

alrededor de 6 años hace | 0

Respondida
matlab and simulink can not receive custom message whice send by ros
Please see some strategies for resolving and troubleshooting this issue in my answer here. You shouldn't need to set ROS_IP on t...

alrededor de 6 años hace | 0

Respondida
Failed to create custom ROS2 message
ROS 2 has more strict rules about package, message, and field names than ROS did. Relevant here, fieldnames need to be all lower...

alrededor de 6 años hace | 0

Respondida
How can I select a specific variable in the .mat file which contains different variables in the user interface?
Hello Kunpeng, You may consider using whos to determine the variables available in a MAT file. Then you can specify the variabl...

alrededor de 6 años hace | 0

Respondida
Plotting a 2d graph from .txt file (imported into MATLAB as table)
plot(data.t, data.x) A similar question was posted here, and points to this documentation for more information. You could even...

alrededor de 6 años hace | 0

| aceptada

Respondida
Any way to assign the second output to a variable on a function?
Hello Brandon, You can opt to ignore the first output using a tilde: [~, var2] = name(in1, in2); Is that what you were lookin...

alrededor de 6 años hace | 1

Respondida
Time Complexity of 2D array
Hello Yugal, What size are vcp and vcn before you start the loop? If you are doing something like this: vcp = []; vcn = []; ...

alrededor de 6 años hace | 0

| aceptada

Respondida
calling of functions and subfunctions
Hey Geoffrey, Which version of MATLAB are you using? If you remove the main "function" declaration, it will consider the file t...

alrededor de 6 años hace | 0

| aceptada

Respondida
MATHLAB R2019B rosinit "ROS Executor Thread" error
Hello Doruk, std_msgs/Uint32 is a built-in supported message type, but this error looks like what can occur if you attempt to u...

alrededor de 6 años hace | 0

Respondida
Undefined function or variable 'createRigidBodyTree'.
Hello Tasneem, "createRigidBodyTree" is not a function that ships with RST, or any MATLAB toolbox as far as I can tell. It appe...

más de 6 años hace | 0

| aceptada

Respondida
How to put data into a ROS mssage with Array Buses
Hello Xiaobo, I believe that the recommended workflow (or at least the easiest) is to simply use a MATLAB Function block to do ...

más de 6 años hace | 0

Respondida
"Manage Array Size for ROS Messages" gone missing, after updating to Matlab R2019b.
Hello Ken, The Simulink Toolstrip in R2019b has changed the location of a few things, but the variable size array configuration...

más de 6 años hace | 0

| aceptada

Respondida
convert from hdf5 format to matlab
Hey Khaled, Have you tried h5read? This page should show an example of how to read the data. -Cam

más de 6 años hace | 0

Respondida
Error "Unable to resolve name" issue
Hello Paul, Please make sure that the parent folder to the "+mSIPRO" directory is on the MATLAB search path. Once you update th...

más de 6 años hace | 3

| aceptada

Cargar más