Community Profile

photo

Sebastian Castro


MathWorks

860 total contributions since 2012

Education Technical Evangelist at MathWorks, focusing on robotics student competitions.

Co-host of the MATLAB and Simulink Robotics Arena.

Professional Interests: Education, Robotics, Simulation, Controls, Algorithms, Physical Modeling, Model-Based Design, Computer Vision, Machine Learning, Software Engineering

Non-professional Interests: Running, beer, and heavy metal \m/

Sebastian Castro's Badges

  • Thankful Level 1
  • 12 Month Streak
  • Guiding Light
  • Revival Level 3
  • Knowledgeable Level 4
  • First Answer
  • Modeling And Simulation Challenge Master
  • Commenter
  • Leader
  • Solver

View details...

Contributions in
View by

Answered
arduino uno simulink matlab Simulink does not permit you to modify the MATLAB installation area.
"Please change to a working folder that is not in the MATLAB installation area and re-try the previous command." So... as the e...

12 days ago | 0

Answered
Variable resistor in Simscape Specialized Technology
You can build one fairly quickly using the approach discussed here: https://www.mathworks.com/help/physmod/sps/powersys/ug/buil...

12 days ago | 0

Answered
is turtlebot 2i also opera table using matlab?
You can control a TurtleBot2 from MATLAB using ROS: https://www.mathworks.com/help/robotics/examples/get-started-with-a-real-tu...

12 days ago | 0

Answered
Abc to dq0 transformation
In Simscape Electrical (previously Simscape Power Systems) https://www.mathworks.com/help/physmod/sps/powersys/ref/abctodq0dq0t...

12 days ago | 0

Answered
Circular trajectory on Parrot minidrone
If the X trajectory is a sine and the Y trajectory is a cosine, that's a circle! https://www.mathopenref.com/coordparamcircle.h...

12 days ago | 0

| accepted

Answered
Custom activation functions for Deep Learning Toolbox?
Sure you can! Here is an example: https://www.mathworks.com/help/deeplearning/ug/define-custom-deep-learning-layer.html - Seba...

12 days ago | 0

Answered
Please suggest me how I can stop the charging of battery at 80% by using simulink?
If you open that switch, those 12A of constant current have no choice but to all go into the battery, so it makes sense that it ...

12 days ago | 0

Answered
How to use MATLAB open the baxter robot's cameras?
The joint commands require publishing to the topic, as it's actuators. Cameras are sensors, so they would require subscribing to...

1 month ago | 1

| accepted

Answered
Problem with the .mltbx toolbox file in Matlab 2018a
I think this is because you're trying to install this on a folder that requires admin/root access. Try moving the .mltbx file s...

2 months ago | 0

Answered
Unable to connect rotational elements to lever block in simscape
The Lever block accepts 2 Translational ports, so the Rotational ones won't directly connect. In your diagram, this means you ca...

3 months ago | 0

Answered
Simulink - Constant as an argument to a MATLAB function block
Unfortunately, this is a documented limitation: <https://www.mathworks.com/help/signal/ref/upfirdn.html#d120e192101> (expand ...

3 months ago | 0

Answered
Error in determining the root folder
If you want the name of the current folder >> folderName = pwd; If you want the name of the file containing the MATLAB s...

3 months ago | 0

Answered
What to use for Semantic Segmentation
You can start with premade neural network architectures. The following example does this with the VGG-16 architecture: <https...

3 months ago | 0

| accepted

Answered
Defining time on Ev3 Robot in matlab
If you're using the MATLAB - LEGO interface, then you're not really deploying any code, right? If so, then I would recommend usi...

3 months ago | 0

Answered
Measurement data as source for Simulink model
Try a "From Workspace" block: <https://www.mathworks.com/help/simulink/slref/fromworkspace.html> Or in general, you can e...

3 months ago | 0

Answered
Is it possible to pass outputs from one model to be the inputs of another model using simulink?
You could try model referencing to connect these two models inside one bigger "parent" model. It's a very common thing when you ...

3 months ago | 1

| accepted

Answered
please what are the names of the different types of neural network available in matlab?
There are for sure Convolutional and Recurrent Neural Networks in release 2018b of MATLAB. * Convolutional: <https://www.math...

3 months ago | 0

Answered
This function does not fully set the dimensions of output port 2 error in matlab?
Hi Najmeh Eskandari, I would highly recommend running this code in MATLAB and debugging it yourself. I just did the same and ...

3 months ago | 0

| accepted

Answered
i made a quarter car suspension using simulink . but the output is always 0. why? i need help!
You either need a forcing function or some nonzero initial conditions in the Integrator blocks... otherwise, you should expect t...

3 months ago | 1

| accepted

Answered
Converting double array to struct array for generalized inverse kinematics
Instead of converting back and forth, it's easier to stick to a consistent format -- either all structs or all numeric. If yo...

3 months ago | 0

Answered
show command from robotics
Yes -- you have to disable the |PreservePlot| property as follows: show(robot,qWaypoints(k,:)','PreservePlot',false); - ...

3 months ago | 0

Answered
How can i send image using UDP in Matlab code ?
If you have Instrument Control Toolbox, you can use this functionality: <https://www.mathworks.com/help/instrument/tcp-ip-and...

3 months ago | 0

| accepted

Answered
how to create topic ?
With |rospublisher|: <https://www.mathworks.com/help/robotics/ref/robotics.publisher.html> - Sebastian

3 months ago | 2

Answered
Why should I choose matlab deep learning toolbox over other opensource frameworks like caffe, onnx, pytorch, torch etc?
This is a fun and tough question... *DISCLAIMER: Even though I currently work at MathWorks, I am answering with my personal o...

4 months ago | 5

Answered
import robot as a rigidbody tree from simscape model
Actually, if you look at the Robotics System Toolbox release notes, the ability to use |importrobot| on a model is only out in R...

4 months ago | 0

| accepted

Answered
Trouble Coding Kinematics Problem
You probably want to convert from degrees to radians, since the |sin| and |cos| functions accept radians. That, or you can us...

4 months ago | 0

| accepted

Answered
Plotting quadratic f(t) = t^3
Yes. % 1001 samples from -2pi to 2pi t = linspace(-2*pi, 2*pi, 1001); % Element-wise multiplication f = t.^3; ...

4 months ago | 1

| accepted

Answered
How do I import XACRO files as Rigid Body Trees in Robotics System Toolbox?
You can use the ROS |xacro| utility to convert your XACRO files to URDF before importing into MATLAB. In a ROS enabled termin...

4 months ago | 0

| accepted

Question


How do I import XACRO files as Rigid Body Trees in Robotics System Toolbox?
I am trying to import a robot description model from a XACRO file as a Rigid Body Tree from Robotics System Toolbox. robot ...

4 months ago | 1 answer | 0

1

answer

Answered
How can i use color image segmentation using threshold base edge detection improving through weiner filter and hormonic filter?
Hi Muhammad, Without knowing the exact problem you're facing, here are some general resources to help you get started. * ...

5 months ago | 0

| accepted

Load more