Answered
How can I convert a ROS Image topic into an matrix that I can process in Simulink?
You are correct that |readImage| and |writeImage| functions are for MATLAB use only since they work on ROS topic objects. Howeve...

7 years ago | 1

| accepted

Answered
proximity Sensors library not found
<http://www.mathworks.com/help/physmod/elec/ug/simelectronics-block-libraries.html?s_tid=answers_rc2-2_p5 Simscape Electronics> ...

7 years ago | 0

Answered
Is there a way to 'switch' gradually from the value of 1 signal to another, given the input of a boolean?
There is a <http://www.mathworks.com/help/simulink/slref/ratelimiter.html Rate Limiter block> that could help you control the ri...

7 years ago | 0

Answered
SimMechanics - Joint Actuator/Motion problem
Take a look at the <http://www.mathworks.com/help/physmod/sm/ug/joint-actuation.html documentation for joint actuation> .

7 years ago | 0

Answered
How can I import a file that includes both string and numerical data?
Hello John, There are a few things conflicting about your question. You first say you have 5 rows of string data and then you...

7 years ago | 0

Answered
How is it possible to open the Parameter Estimation Toolbox for a simulink model in R2016a ? (select subsystem and click analyze and Parameter Estimation still not exists)
Parameter Estimation tool is part of the <http://www.mathworks.com/products/sl-design-optimization/ Simulink Design Optimizatio...

7 years ago | 1

Answered
battery variable load block in simulink
You could use a <http://www.mathworks.com/help/physmod/simscape/ref/variableresistor.html variable resistor block> instead of a ...

7 years ago | 0

Answered
How to get prediction scores from exported Classification Learner SVM model
Hello Ashley, The predict function expects an input classifier of type such as |ClassificationKNN| or |ClassificationTree| et...

7 years ago | 3

| accepted

Answered
Change "current block"/gcb/gcbh programmatically
Is it not possible to change the code to use block path (string such as 'myModel/Gain') instead of gcb or gcbh? This would be th...

7 years ago | 1

| accepted

Answered
How to call an entire Simulink Model from Stateflow?
Take a look at the documentation <http://www.mathworks.com/help/stateflow/simulink-algorithm.html here> to see how to access Sim...

7 years ago | 0

Answered
vision.videoplayer fit to window
Have you tried playing with the *|Position|* property of the object? This can change the size of the VideoPlayer's window using ...

7 years ago | 0

Answered
Help me display my images? Simulink's Video Viewer block shows a black Image when using default settings and Matlab examples
You say 'Maybe I have a parameter wrong.' Did you change anything in the model before running it? FWIW, I see the same behav...

7 years ago | 1

| accepted

Answered
Simulink blocks in series
You should do this programmatically (using MATLAB commands). Similar question answered <http://www.mathworks.com/matlabcentral/a...

7 years ago | 0

Answered
can Sketchup models be exported into Simulink 3D?
Documentation is your friend :). Looks like you can do this maybe 2 ways: # Import STL file directly into the 3D world. Do...

7 years ago | 0

| accepted

Answered
Can centroids be numbered and then how would new centroids be added to the list?
To add to the answer above, the following documentation page has this approach explained with a couple of examples linked in it:...

7 years ago | 0

Answered
How to check that the value is within the spec
# I suggest you convert the above tables first to actual MATLAB <http://www.mathworks.com/help/matlab/ref/table.html table> vari...

7 years ago | 0

| accepted

Answered
Need help regarding visual actuators (lights) in Simulink
As of R2015a, you can use the 'Lamp' block in the dashboard library. Documentation <http://www.mathworks.com/help/simulink/slref...

7 years ago | 1

Answered
Why do I receive an error when selecting a new design variable set in Simulink?
Hello Michael, I think I see what the problem is. There are 2 things at work here. First point, you may already know, so pard...

7 years ago | 1

| accepted

Answered
How do I modify variables in the model workspace from a Simulink block?
Jeeven, You can manipulate model workspace variables using MATLAB commands on a *|Simulink.Workspace|* variable. Refer to the...

7 years ago | 1

Answered
How to import solid works assembly file in xml simmechanics second generation.
For second generation, use the |*smimport*| function (documentation <http://www.mathworks.com/help/physmod/sm/ref/smimport.html ...

7 years ago | 0

| accepted

Answered
How to train an SVM classifier and calculate performance
You could do one of several things: 1. Resubstitution Loss calculation using <http://www.mathworks.com/help/stats/classificat...

7 years ago | 1

Answered
Best fit line to time series data
Use the basic fitting UI. Documentation <http://www.mathworks.com/help/releases/R2016a/matlab/data_analysis/interactive-fitting....

7 years ago | 0

Answered
What's wrong with the planar joint of the test platform in my formula student vehicle suspension model?
Hello Shuo, First things first. You are making great progress! Congrats! Next, let me show you the best way to debug. In o...

7 years ago | 1

| accepted

Answered
Does MATLAB R2015a run in Ubuntu 12.04LTS?
The platform road map <http://www.mathworks.com/support/sysreq/roadmap.html?s_tid=answers_rc2-1_p4 here> says it is not supporte...

7 years ago | 0

Answered
How to build the contact point when trying to add test paltform to test a vehicle model?
Hello Shuo, Regarding the example training model: The follower frame is rotated so that we can align the base and follower...

7 years ago | 0

| accepted

Answered
Programmatically create ROS message in Matlab Function block (Simulink)
Hello, Since rosmessage is not supported for code generation, you may have to use the Simulink infrastructure to make your li...

7 years ago | 1

Answered
Java error when using rosinit command
Googled to find this thread: <http://answers.ros.org/question/207508/matlab-r2015a-ros-initialization-problem/> Maybe try thi...

7 years ago | 0

Answered
Chain/cascade of general elements in Simulink/Simscape?
Similar question is answered <http://www.mathworks.com/matlabcentral/answers/216358-simscape-are-there-ways-to-build-segmented-d...

7 years ago | 0

| accepted

Answered
How do I get signals to repeat to infinity?
I don't think this can be done using the Signal Builder block. It has only 3 options to set after final time. 'Hold final value'...

7 years ago | 0

| accepted

Answered
How can I find the Sensitivity Factor of the Harris Corner Detector?
Yes you are right that the documentation link you have linked talks about the Simulink block and not the function *|detectHarris...

7 years ago | 0

Load more