Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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 ...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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 ...

environ 6 ans il y a | 1

Réponse apportée
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 ...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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 ...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 0

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

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 1

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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 ...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 1

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 1

Réponse apportée
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 = []; ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 6 ans il y a | 0

Réponse apportée
"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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 3

| A accepté

Charger plus