Answered

What is the most suitable solver for SimScape simulations?

If you have not already, take a look at this documentation that talks about 'Making Optimal Solver Choices for Physical Simulati...

What is the most suitable solver for SimScape simulations?

If you have not already, take a look at this documentation that talks about 'Making Optimal Solver Choices for Physical Simulati...

oltre 5 anni ago | 0

Answered

how to open a block from Simulink at GUI

By open, do you mean the double clicking action on the model? If yes, you can use the |open_system| command. Example below: ...

how to open a block from Simulink at GUI

By open, do you mean the double clicking action on the model? If yes, you can use the |open_system| command. Example below: ...

oltre 5 anni ago | 1

Answered

Is the Image Acquisition toolbox a prerequisite for the Image Processing toolbox?

Image Processing Toolbox only requires MATLAB. Take a look at the requirements <https://www.mathworks.com/products/availability/...

Is the Image Acquisition toolbox a prerequisite for the Image Processing toolbox?

Image Processing Toolbox only requires MATLAB. Take a look at the requirements <https://www.mathworks.com/products/availability/...

oltre 5 anni ago | 1

| accepted

Answered

Removing all highlightning programmatically

There is no single function that can do this. You will need to use a collection of <http://www.mathworks.com/help/simulink/slref...

Removing all highlightning programmatically

There is no single function that can do this. You will need to use a collection of <http://www.mathworks.com/help/simulink/slref...

oltre 5 anni ago | 0

| accepted

Answered

Logging to dataset and plot data

This depends on your version of MATLAB. This functionality exists as of MATLAB R2016b as mentioned in <http://www.mathworks.com/...

Logging to dataset and plot data

This depends on your version of MATLAB. This functionality exists as of MATLAB R2016b as mentioned in <http://www.mathworks.com/...

oltre 5 anni ago | 1

| accepted

Answered

how i can compute a signal derivative inside MATLAB function block without extra blocks

# I would like to point out the fact that the derivative block has its limitation. Please refer to the documentation page <https...

how i can compute a signal derivative inside MATLAB function block without extra blocks

# I would like to point out the fact that the derivative block has its limitation. Please refer to the documentation page <https...

oltre 5 anni ago | 2

Answered

How do you print output of fitlme to a text file?

Use the <https://www.mathworks.com/help/releases/R2016b/matlab/ref/diary.html diary> command. Example: diary('lmeDetails.tx...

How do you print output of fitlme to a text file?

Use the <https://www.mathworks.com/help/releases/R2016b/matlab/ref/diary.html diary> command. Example: diary('lmeDetails.tx...

oltre 5 anni ago | 0

| accepted

Answered

What does mean Model Based Design (MBD) ?

Take a look at <https://www.mathworks.com/solutions/model-based-design/ this page> to understand the philosophy of Model-Based D...

What does mean Model Based Design (MBD) ?

Take a look at <https://www.mathworks.com/solutions/model-based-design/ this page> to understand the philosophy of Model-Based D...

oltre 5 anni ago | 0

Answered

Simulink Scope Layout and Signal Selection

<https://www.mathworks.com/help/releases/R2016b/simulink/slref/scope.html#buzeqco-1 Here> is the default behavior of the layout ...

Simulink Scope Layout and Signal Selection

<https://www.mathworks.com/help/releases/R2016b/simulink/slref/scope.html#buzeqco-1 Here> is the default behavior of the layout ...

oltre 5 anni ago | 8

| accepted

Answered

5 point asymmetric moving average using past values

Looks like when you are plotting, size of |asym5p| is |1x1040| while size of |time (5 : (N))| is |1x1036|. These need to be same...

5 point asymmetric moving average using past values

Looks like when you are plotting, size of |asym5p| is |1x1040| while size of |time (5 : (N))| is |1x1036|. These need to be same...

oltre 5 anni ago | 0

| accepted

Answered

"vision.GeometricTransformer" Object

Why do you like to use the vision.GeometricTransformer object? The documentation says "The vision.GeometricTransformer System ob...

"vision.GeometricTransformer" Object

Why do you like to use the vision.GeometricTransformer object? The documentation says "The vision.GeometricTransformer System ob...

oltre 5 anni ago | 0

| accepted

Answered

How we store an input signal in a timeseries format to an a N element array in simulink

Assuming you are using the <https://www.mathworks.com/help/releases/R2016b/simulink/slref/toworkspace.html 'To Workspace' block>...

How we store an input signal in a timeseries format to an a N element array in simulink

Assuming you are using the <https://www.mathworks.com/help/releases/R2016b/simulink/slref/toworkspace.html 'To Workspace' block>...

oltre 5 anni ago | 0

Answered

find the non zero minimum and return the index

One answer could be, set anything 0 or less to |NaN| and directly use the |min| function. x = [12 10 0 6] x1 = x; ...

find the non zero minimum and return the index

One answer could be, set anything 0 or less to |NaN| and directly use the |min| function. x = [12 10 0 6] x1 = x; ...

oltre 5 anni ago | 1

Answered

I am facing the following error while running my simulink model.Please help me solving me sir.I will be grateful to you.

Take a look at <http://www.mathworks.com/help/simulink/ug/algebraic-loops.html this documentation> to learn what an algebraic lo...

I am facing the following error while running my simulink model.Please help me solving me sir.I will be grateful to you.

Take a look at <http://www.mathworks.com/help/simulink/ug/algebraic-loops.html this documentation> to learn what an algebraic lo...

oltre 5 anni ago | 0

Answered

How to crop and resize images?

# To crop, use |imcrop| function. Example <http://www.mathworks.com/help/images/cropping-an-image.html here>. # To resize, use ...

How to crop and resize images?

# To crop, use |imcrop| function. Example <http://www.mathworks.com/help/images/cropping-an-image.html here>. # To resize, use ...

oltre 5 anni ago | 2

Answered

what is advantage of Mux over Bus in Simulink?

In general a Mux is easier to setup/use compared to a bus. However, which one you should use really depends on what your use cas...

what is advantage of Mux over Bus in Simulink?

In general a Mux is easier to setup/use compared to a bus. However, which one you should use really depends on what your use cas...

oltre 5 anni ago | 0

Answered

Realtime NI Daq data to Simulink using MATLAB's Data Acquisition Toolbox, session interface

Much of this discussion depends on which version of MATLAB you are on. For the latest release, MATLAB R2016b, there ARE Simulink...

Realtime NI Daq data to Simulink using MATLAB's Data Acquisition Toolbox, session interface

Much of this discussion depends on which version of MATLAB you are on. For the latest release, MATLAB R2016b, there ARE Simulink...

oltre 5 anni ago | 1

| accepted

Answered

Why is data cursor showing incorrectly approximated value in bar plot in MATLAB?

I looked at this on MATLAB R2016b and it looks ok. <</matlabcentral/answers/uploaded_files/61561/2016-10-19_10-26-57.jpg>> ...

Why is data cursor showing incorrectly approximated value in bar plot in MATLAB?

I looked at this on MATLAB R2016b and it looks ok. <</matlabcentral/answers/uploaded_files/61561/2016-10-19_10-26-57.jpg>> ...

oltre 5 anni ago | 1

Answered

how can i find diagonal line in image?

You can use hough transform to detect lines. Once lines are detected, you can use properties such as theta on the houghlines str...

how can i find diagonal line in image?

You can use hough transform to detect lines. Once lines are detected, you can use properties such as theta on the houghlines str...

oltre 5 anni ago | 0

Answered

Simscape powersystems change library block

I don't think it is possible to change the RLC Series load block. You might want to alternatively think about running your model...

Simscape powersystems change library block

I don't think it is possible to change the RLC Series load block. You might want to alternatively think about running your model...

oltre 5 anni ago | 0

Answered

Simulink Example, how to obtain the data?

Thanks for the clarification. Both the |Half-bridge IGBT with Loss Calculation (Module 3)| subsystem and the |Thermal Model|...

Simulink Example, how to obtain the data?

Thanks for the clarification. Both the |Half-bridge IGBT with Loss Calculation (Module 3)| subsystem and the |Thermal Model|...

oltre 5 anni ago | 1

Answered

what is the .asv file which appeared next to normal m files, and do i need them ?

These are backup files. Look in the documentation <http://www.mathworks.com/help/matlab/matlab_prog/open-and-save-files.html?sea...

what is the .asv file which appeared next to normal m files, and do i need them ?

These are backup files. Look in the documentation <http://www.mathworks.com/help/matlab/matlab_prog/open-and-save-files.html?sea...

oltre 5 anni ago | 1

Answered

Help with "Index exceeds matrix dimensions" please

It seems like during the 4th iteration, |n2| is being set to 5 and then |x2| is being assigned a value of |nC(5,1)|. However |nC...

Help with "Index exceeds matrix dimensions" please

It seems like during the 4th iteration, |n2| is being set to 5 and then |x2| is being assigned a value of |nC(5,1)|. However |nC...

oltre 5 anni ago | 0

Answered

Run sim command with configset from within a ML-function

OK, you asked for an easy way. Depending on how you look at the following, it maybe easy or not :) It looks like |sim| itself...

Run sim command with configset from within a ML-function

OK, you asked for an easy way. Depending on how you look at the following, it maybe easy or not :) It looks like |sim| itself...

oltre 5 anni ago | 0

| accepted

Answered

Block cannot cross a non-virtual subsystem boundary, since both blocks are part of the same discrete-event system.

I don't think it is allowed. From <http://www.mathworks.com/help/simevents/ug/simevents-support-for-simulink-subsystems.html?s_t...

Block cannot cross a non-virtual subsystem boundary, since both blocks are part of the same discrete-event system.

I don't think it is allowed. From <http://www.mathworks.com/help/simevents/ug/simevents-support-for-simulink-subsystems.html?s_t...

oltre 5 anni ago | 1

| accepted

Answered

Is there a convenient way of listing the names of all *.m functions that are called by a given *.m function?

Short answer, use the function <http://www.mathworks.com/help/matlab/ref/matlab.codetools.requiredfilesandproducts.html?searchHi...

Is there a convenient way of listing the names of all *.m functions that are called by a given *.m function?

Short answer, use the function <http://www.mathworks.com/help/matlab/ref/matlab.codetools.requiredfilesandproducts.html?searchHi...

oltre 5 anni ago | 0

Answered

Converting Models from 2015a back to 2012b

* To automate the model exporting process, you can use the |save_system| command and a MATLAB script to run through all the mode...

Converting Models from 2015a back to 2012b

* To automate the model exporting process, you can use the |save_system| command and a MATLAB script to run through all the mode...

oltre 5 anni ago | 0

| accepted

Answered

Getting started battery modelling using matlab

<http://www.mathworks.com/discovery/battery-models.html?s_tid=srchtitle This battery modeling page> might be a good place to sta...

Getting started battery modelling using matlab

<http://www.mathworks.com/discovery/battery-models.html?s_tid=srchtitle This battery modeling page> might be a good place to sta...

oltre 5 anni ago | 0

Answered

Controlling robot in gazebo with matlab

You can do this with the Robotics System Toolbox. Take a look at <http://www.mathworks.com/help/robotics/examples.html#d0e517 th...

Controlling robot in gazebo with matlab

You can do this with the Robotics System Toolbox. Take a look at <http://www.mathworks.com/help/robotics/examples.html#d0e517 th...

oltre 5 anni ago | 0

Answered

How to detect only horizontal line exact parallel to one reference horizontal line in the same image?

You can use hough transform to detect lines. Once lines are detected, you can use properties such as theta on the houghlines str...

How to detect only horizontal line exact parallel to one reference horizontal line in the same image?

You can use hough transform to detect lines. Once lines are detected, you can use properties such as theta on the houghlines str...

oltre 5 anni ago | 0