Answered

What does "-tf inf" stand for in the command system('rtwdemo_secondOrderSystem -tf inf &')

Hi Sylvain, The -tf switch is used to override the stop time that was set during code generation, for example: model -tf n Th...

What does "-tf inf" stand for in the command system('rtwdemo_secondOrderSystem -tf inf &')

Hi Sylvain, The -tf switch is used to override the stop time that was set during code generation, for example: model -tf n Th...

mer än 3 år ago | 2

| accepted

Answered

I am getting the error not enough input arguments when I try to execute my optimization function given below using genetic algorithm in the optimization application of matlab

Hello, This error is arising because you need to pass the handle to the function in "Fitness Function" section instead of the f...

I am getting the error not enough input arguments when I try to execute my optimization function given below using genetic algorithm in the optimization application of matlab

Hello, This error is arising because you need to pass the handle to the function in "Fitness Function" section instead of the f...

mer än 3 år ago | 1

Answered

How can I create a custom excel function using matlab ?

Hi Sarada, You can use Spreadsheet Link to call MATLAB functions from Microsoft Excel. Firstly, check if Spreadsheet Link is in...

How can I create a custom excel function using matlab ?

Hi Sarada, You can use Spreadsheet Link to call MATLAB functions from Microsoft Excel. Firstly, check if Spreadsheet Link is in...

mer än 3 år ago | 0

Answered

In my laptop J just installed matlab 2020a but is showing the following issue

Hi Sanjay, The best way to resolve a License Manager Error -9 is by reactivating MATLAB with the activation client. To do this,...

In my laptop J just installed matlab 2020a but is showing the following issue

Hi Sanjay, The best way to resolve a License Manager Error -9 is by reactivating MATLAB with the activation client. To do this,...

mer än 3 år ago | 0

| accepted

Answered

Inferred size ('[1 20]') for data 'MyMatrix_ToVector' does not match back propagated size ('[20]') from Simulink.

Hi Sebastian, You can try editing the size of the output of your MATLAB function. To do this, follow these steps: Open the MAT...

Inferred size ('[1 20]') for data 'MyMatrix_ToVector' does not match back propagated size ('[20]') from Simulink.

Hi Sebastian, You can try editing the size of the output of your MATLAB function. To do this, follow these steps: Open the MAT...

nästan 4 år ago | 0

Answered

Neural Network not updating weights after configuration

Hi Lukas, I have tried to implement your neural net with a sample data (bodyfat_dataset) and it seems to run fine for the size ...

Neural Network not updating weights after configuration

Hi Lukas, I have tried to implement your neural net with a sample data (bodyfat_dataset) and it seems to run fine for the size ...

nästan 4 år ago | 0

Answered

How to enable plotted data to be highlight when mouse hover over but not diplay coordinate information when clicked

Hi Yunhao, It is my understanding that you would like to remove the coordinates information which is displayed when we click o...

How to enable plotted data to be highlight when mouse hover over but not diplay coordinate information when clicked

Hi Yunhao, It is my understanding that you would like to remove the coordinates information which is displayed when we click o...

nästan 4 år ago | 0

| accepted

Answered

Customized Regression output layer

Hi, I tried to implement your network on my end and found two problems. One, when using "mse" as the loss function, it is advis...

Customized Regression output layer

Hi, I tried to implement your network on my end and found two problems. One, when using "mse" as the loss function, it is advis...

nästan 4 år ago | 0

Answered

How to add button to mask which adds another dropdown to the same mask

Hi Daniel, According to my understanding, you want to design an interactive mask dialogue box specifically adding a "popup" or ...

How to add button to mask which adds another dropdown to the same mask

Hi Daniel, According to my understanding, you want to design an interactive mask dialogue box specifically adding a "popup" or ...

nästan 4 år ago | 1

| accepted

Answered

How do I programmatically get all variant control labels of a Variant Subsystem when in Label control mode?

Hi Zachary, The list of all the available Variant control labels can be found by selecting the desired Variant subsytem and the...

How do I programmatically get all variant control labels of a Variant Subsystem when in Label control mode?

Hi Zachary, The list of all the available Variant control labels can be found by selecting the desired Variant subsytem and the...

nästan 4 år ago | 0

| accepted

Answered

Unwanted white line in the 3d figure

Hi, A similar question has been answered here. I hope this will resolve your issue.

Unwanted white line in the 3d figure

Hi, A similar question has been answered here. I hope this will resolve your issue.

nästan 4 år ago | 0

| accepted

Answered

How to pass a vector<float> (1D) from C++ into MATLAB for plotting?

Hi Angad, You can use "createArray" with C++ vector iterators as well. Please refer to this link for more details. I have creat...

How to pass a vector<float> (1D) from C++ into MATLAB for plotting?

Hi Angad, You can use "createArray" with C++ vector iterators as well. Please refer to this link for more details. I have creat...

nästan 4 år ago | 0

Answered

How to transform non image data so that it will be able to train with Matlab CNN ?

Hi Tuong, You can use the "imageInputLayer" to input your data points into your neural network. You can take: inputSize = [4 1...

How to transform non image data so that it will be able to train with Matlab CNN ?

Hi Tuong, You can use the "imageInputLayer" to input your data points into your neural network. You can take: inputSize = [4 1...

nästan 4 år ago | 0

Answered

Question for 'Layer Input sizes' in custom neural network layers

Hi Sangmin, It is my understanding that you want to create an intermediate layer which accepts a 2 – by – 1 vector as input. S...

Question for 'Layer Input sizes' in custom neural network layers

Hi Sangmin, It is my understanding that you want to create an intermediate layer which accepts a 2 – by – 1 vector as input. S...

nästan 4 år ago | 0

| accepted

Answered

Reinforcement Learning: Multiple Unique Discrete Actions

Hi Huzaifa, According to my understanding, you would like to remove the action pairs which have the same values like [1 1],[2 2...

Reinforcement Learning: Multiple Unique Discrete Actions

Hi Huzaifa, According to my understanding, you would like to remove the action pairs which have the same values like [1 1],[2 2...

nästan 4 år ago | 1

| accepted

Answered

Calculating and printing uncertainties of fits after the "normal" display of fit-parameters

Hi Claudius, I would suggest to create a custom display function for this task. I have created a function that I describe below...

Calculating and printing uncertainties of fits after the "normal" display of fit-parameters

Hi Claudius, I would suggest to create a custom display function for this task. I have created a function that I describe below...

nästan 4 år ago | 0

| accepted

Answered

Model I/O dimensions must agree in feedback(Using struct file to find Robustness in a control system)

Hello Johnathon, The error is due to the incorrect usage of variable "k". According to the video you referred, the correct line...

Model I/O dimensions must agree in feedback(Using struct file to find Robustness in a control system)

Hello Johnathon, The error is due to the incorrect usage of variable "k". According to the video you referred, the correct line...

nästan 4 år ago | 0

| accepted

Answered

It's simple to implement function block.

Hi, To mimic the while loop you can use the "While iterator subsytem" described here. I have attached my model of the subsytem ...

It's simple to implement function block.

Hi, To mimic the while loop you can use the "While iterator subsytem" described here. I have attached my model of the subsytem ...

nästan 4 år ago | 0

| accepted

Answered

Create an algorithm for perfect matching in bipartite graph

Hi Sepideh, It is my understanding that you want to create an algorithm which gives you the perfect matching decomposition of a...

Create an algorithm for perfect matching in bipartite graph

Hi Sepideh, It is my understanding that you want to create an algorithm which gives you the perfect matching decomposition of a...

nästan 4 år ago | 0

Answered

How can I change opts.StartPoint for a custom equation at every loop iteration?

Hi Pinar, It is my understanding that you would like to define custom starting points for your curve - fitting model for differ...

How can I change opts.StartPoint for a custom equation at every loop iteration?

Hi Pinar, It is my understanding that you would like to define custom starting points for your curve - fitting model for differ...

nästan 4 år ago | 0

Answered

Intersection of multiple lines and circle

Hi Tamim, Since the number of location points and circles is low, we can design a brute – force algorithm for this problem. Th...

Intersection of multiple lines and circle

Hi Tamim, Since the number of location points and circles is low, we can design a brute – force algorithm for this problem. Th...

nästan 4 år ago | 0

Answered

I am using using pdepe to solve a 1D heat diffusion equation. My calling line looks like:

Hi Swayam, The mesh points given by the elements of vectors "xmesh" and "time" are the points where "pdepe" returns the solutio...

I am using using pdepe to solve a 1D heat diffusion equation. My calling line looks like:

Hi Swayam, The mesh points given by the elements of vectors "xmesh" and "time" are the points where "pdepe" returns the solutio...

nästan 4 år ago | 0

| accepted

Answered

Integral2 warning: minRectSizePass

Hi Maria, The "integral2" function with the "tiled" method is an adaptive quadrature that transforms the integration region to ...

Integral2 warning: minRectSizePass

Hi Maria, The "integral2" function with the "tiled" method is an adaptive quadrature that transforms the integration region to ...

nästan 4 år ago | 0

| accepted

Answered

Problem with PDE resolution

Hi, This error is produced because in the function “pdefun”, you have defined the variable “c” twice. In the first declarat...

Problem with PDE resolution

Hi, This error is produced because in the function “pdefun”, you have defined the variable “c” twice. In the first declarat...

nästan 4 år ago | 0

| accepted

Answered

Solving heat equation with source term using pdepe

Hi Nishant, I reckon you have already found the answer here. Sharing the link here so that it comes handy for anyone who has a ...

Solving heat equation with source term using pdepe

Hi Nishant, I reckon you have already found the answer here. Sharing the link here so that it comes handy for anyone who has a ...

nästan 4 år ago | 0

| accepted

Answered

The main interface is garbled

Hi, This is probably due to a discrepancy between the user and system locale values. If you are using Windows 10 or 7, p...

The main interface is garbled

Hi, This is probably due to a discrepancy between the user and system locale values. If you are using Windows 10 or 7, p...

nästan 4 år ago | 0

Answered

How to make scatter plots change size after certain value range

Hi Lukas, In my understanding, you want to plot a scatter plot of the locations of trees from their text data files such that ...

How to make scatter plots change size after certain value range

Hi Lukas, In my understanding, you want to plot a scatter plot of the locations of trees from their text data files such that ...

nästan 4 år ago | 1

| accepted

Answered

Calculate area within mesh plot

Hi Adam, According to my understanding, you want to calculate the surface area of a certain portion of your graph. I have made ...

Calculate area within mesh plot

Hi Adam, According to my understanding, you want to calculate the surface area of a certain portion of your graph. I have made ...

nästan 4 år ago | 2

| accepted

Answered

Event for selecting Choice list entrys multiple time

Hi, The “CellEditCallback” is trigerred when the the content of a table cell is changed. Selecting ‘Choice 1’ or ‘Choice 2’ ini...

Event for selecting Choice list entrys multiple time

Hi, The “CellEditCallback” is trigerred when the the content of a table cell is changed. Selecting ‘Choice 1’ or ‘Choice 2’ ini...

nästan 4 år ago | 0

Answered

Asserting number of a specific keyword used in Matlab Grader

You can use "textscan" function to read formatted data from text file or string. The below code helps you in finding the number...

Asserting number of a specific keyword used in Matlab Grader

You can use "textscan" function to read formatted data from text file or string. The below code helps you in finding the number...

nästan 4 år ago | 0