Beantwortet
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...

mehr als 9 Jahre vor | 1

| akzeptiert

Beantwortet
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> ...

mehr als 9 Jahre vor | 0

Beantwortet
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...

mehr als 9 Jahre vor | 0

Beantwortet
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> .

mehr als 9 Jahre vor | 0

Beantwortet
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...

mehr als 9 Jahre vor | 0

Beantwortet
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...

mehr als 9 Jahre vor | 1

Beantwortet
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 ...

mehr als 9 Jahre vor | 0

Beantwortet
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...

mehr als 9 Jahre vor | 3

| akzeptiert

Beantwortet
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...

mehr als 9 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 9 Jahre vor | 0

Beantwortet
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 ...

mehr als 9 Jahre vor | 0

Beantwortet
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...

mehr als 9 Jahre vor | 1

| akzeptiert

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

mehr als 9 Jahre vor | 0

Beantwortet
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...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
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:...

mehr als 9 Jahre vor | 0

Beantwortet
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...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 9 Jahre vor | 1

Beantwortet
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...

mehr als 9 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 9 Jahre vor | 1

Beantwortet
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 ...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 9 Jahre vor | 1

Beantwortet
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....

mehr als 9 Jahre vor | 0

Beantwortet
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...

mehr als 9 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 9 Jahre vor | 0

Beantwortet
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...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 9 Jahre vor | 1

Beantwortet
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...

mehr als 9 Jahre vor | 0

Beantwortet
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...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
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'...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 9 Jahre vor | 0

Mehr laden