Suman
Followers: 0 Following: 0
Feeds
已回答
How to create signals in data dictionary using excel sheet?
Hi Aditya, You can use the 'readtable' function to read data from the Excel sheet and then create and Signal object and store...
How to create signals in data dictionary using excel sheet?
Hi Aditya, You can use the 'readtable' function to read data from the Excel sheet and then create and Signal object and store...
26 days 前 | 0
已回答
To Connect FMU input and output to goto, from blocks using matlab Code.
Hi Hithesh, Please refer to the following documentation to learn about how you can connect blocks programmatically: https://...
To Connect FMU input and output to goto, from blocks using matlab Code.
Hi Hithesh, Please refer to the following documentation to learn about how you can connect blocks programmatically: https://...
26 days 前 | 0
已回答
How to get the port domain or type of a simscape block programmatically?
Hi Jonas, To get information of Simulink or Simscape blocks, you can use 'get_param' function. You can use 'get_param('blockPat...
How to get the port domain or type of a simscape block programmatically?
Hi Jonas, To get information of Simulink or Simscape blocks, you can use 'get_param' function. You can use 'get_param('blockPat...
26 days 前 | 0
已回答
Question about making simulink block for opencv_contrib
Hi Jianlong, OpenCV Importer does not support "opencv_contrib" as mentioned in this documentation. You can try to use the same ...
Question about making simulink block for opencv_contrib
Hi Jianlong, OpenCV Importer does not support "opencv_contrib" as mentioned in this documentation. You can try to use the same ...
2 months 前 | 0
已回答
Alternative way to use fitcsvm for code generation
Hi Keshav, You can try to use the "coder.extrinsic" function to use functions that are not supported for code generation. Pleas...
Alternative way to use fitcsvm for code generation
Hi Keshav, You can try to use the "coder.extrinsic" function to use functions that are not supported for code generation. Pleas...
2 months 前 | 0
已回答
Three Phase Power Converter Simulink Model for Losses calculation
Hi Khawaja, The example you are referring to is only available since MATLAB R2022a. Hence, you are unable to find it. You may r...
Three Phase Power Converter Simulink Model for Losses calculation
Hi Khawaja, The example you are referring to is only available since MATLAB R2022a. Hence, you are unable to find it. You may r...
2 months 前 | 0
已回答
Subscripting into an mxArray is not supported. Cell contents reference from a non-cell array object.
Hi Añ An, The error "Cell contents reference from a non-cell array object." means that the variable "cbs1" is not a cell array....
Subscripting into an mxArray is not supported. Cell contents reference from a non-cell array object.
Hi Añ An, The error "Cell contents reference from a non-cell array object." means that the variable "cbs1" is not a cell array....
2 months 前 | 0
已回答
What is the difference between 'none' and 'off' using find_system with 'LookUnderMasks' (MATLAB 2017b)?
Hi Amadeus, The 'none' and 'off' are exactly the same for 'LookUnderMasks'. Similarly, 'all' and 'on' are also equivalent. In f...
What is the difference between 'none' and 'off' using find_system with 'LookUnderMasks' (MATLAB 2017b)?
Hi Amadeus, The 'none' and 'off' are exactly the same for 'LookUnderMasks'. Similarly, 'all' and 'on' are also equivalent. In f...
2 months 前 | 0
已回答
How to connect a Subsystem's outputPorts (more than 5) to "Bus Creator" programmatically (from scripting)
Hi Arepalli, To add a new "Bus Creator" block with "n" number of Inputs, you can pass an additional name-value parameter in th...
How to connect a Subsystem's outputPorts (more than 5) to "Bus Creator" programmatically (from scripting)
Hi Arepalli, To add a new "Bus Creator" block with "n" number of Inputs, you can pass an additional name-value parameter in th...
2 months 前 | 0
| 已接受
已回答
Get recent scan data during continuous background sampling with DAQ
Hi Holden, In the code snippet, I see that you are using "start(device)" function to start sampling. This will only acquire dat...
Get recent scan data during continuous background sampling with DAQ
Hi Holden, In the code snippet, I see that you are using "start(device)" function to start sampling. This will only acquire dat...
2 months 前 | 0
已回答
Simulink Coder/Embedded Coder: How to configure identifier naming of utility functions?
Hi flrhlt, Please refer to the this MATLAB answer: https://in.mathworks.com/matlabcentral/answers/493581-how-do-i-change-the-na...
Simulink Coder/Embedded Coder: How to configure identifier naming of utility functions?
Hi flrhlt, Please refer to the this MATLAB answer: https://in.mathworks.com/matlabcentral/answers/493581-how-do-i-change-the-na...
2 months 前 | 0
已回答
I want to collect all the block parameters of the multiple simulink model as per the user select the model and print it in Excel file
Hi Aditya, You can use the uigetfile function to select the model files for which you want to extract the parameters. Make sure...
I want to collect all the block parameters of the multiple simulink model as per the user select the model and print it in Excel file
Hi Aditya, You can use the uigetfile function to select the model files for which you want to extract the parameters. Make sure...
2 months 前 | 0
已回答
How do I change a table lookup algorithm option for all the table lookup blocks in a large Simulink model?
Hi Jeff, You can do it programaticaly with a simple MATLAB script. 1. Get all the Lookup Table blocks present in the model: l...
How do I change a table lookup algorithm option for all the table lookup blocks in a large Simulink model?
Hi Jeff, You can do it programaticaly with a simple MATLAB script. 1. Get all the Lookup Table blocks present in the model: l...
3 months 前 | 0
已回答
how can I simulate values I saved from CSV file to array.mat in Simulink?
Hi, You can use the "readtable" function to read the data from the CSV file to MATLAB. The "readtable" function returns a MATLA...
how can I simulate values I saved from CSV file to array.mat in Simulink?
Hi, You can use the "readtable" function to read the data from the CSV file to MATLAB. The "readtable" function returns a MATLA...
4 months 前 | 0
已回答
I am unable to find the .mlx file attached in a simulink model in MATLAB 2021 version. How can I get the file please help me out.
Hi Soumya, Based on the error message, it seems that MATLAB was unable to find the .MLX file. Assuming that it exists, you can ...
I am unable to find the .mlx file attached in a simulink model in MATLAB 2021 version. How can I get the file please help me out.
Hi Soumya, Based on the error message, it seems that MATLAB was unable to find the .MLX file. Assuming that it exists, you can ...
4 months 前 | 0
已回答
How to specify input arguments data type when using ssDeclareFunctionCaller?
Hi Arian, You can use the ssSetSimulinkFunctionArgDataType function to set the data types of function and the ssSetSimulinkFunc...
How to specify input arguments data type when using ssDeclareFunctionCaller?
Hi Arian, You can use the ssSetSimulinkFunctionArgDataType function to set the data types of function and the ssSetSimulinkFunc...
4 months 前 | 0
已回答
Call Simulink Function That is Defined in a Separate Model Using MATLAB Function Block and Model Reference
Hi Arian, It is indeed possible to call a Simulink Function from a MATLAB Function block that are both implemented in separate ...
Call Simulink Function That is Defined in a Separate Model Using MATLAB Function Block and Model Reference
Hi Arian, It is indeed possible to call a Simulink Function from a MATLAB Function block that are both implemented in separate ...
4 months 前 | 0
已回答
Error using signal.internal.sigcheckfloattype
Hi, You may refer to this MATLAB Answers thread for the similar issue: https://www.mathworks.com/matlabcentral/answers/361053-c...
Error using signal.internal.sigcheckfloattype
Hi, You may refer to this MATLAB Answers thread for the similar issue: https://www.mathworks.com/matlabcentral/answers/361053-c...
4 months 前 | 0
已回答
I have to change function visibility of simulink function block using M-Script.
Hi Umesh, In order to modify some dialog parameter value, you can find out the actual parameter name in the following way: >...
I have to change function visibility of simulink function block using M-Script.
Hi Umesh, In order to modify some dialog parameter value, you can find out the actual parameter name in the following way: >...
4 months 前 | 0
已回答
how to konw the meaning of xout of simulink
Hi 盈天 裴, the xout property refers to the block states at each time point. You can refer to this https://www.mathworks.com/help/...
how to konw the meaning of xout of simulink
Hi 盈天 裴, the xout property refers to the block states at each time point. You can refer to this https://www.mathworks.com/help/...
4 months 前 | 0
已回答
How to remove the error "Can not resolve Simulink signal object for output port" in matlab 2009b
Hi yogi, The error "Cannot resolve Simulink signal object for output port" typically occurs when Simulink is unable to find or ...
How to remove the error "Can not resolve Simulink signal object for output port" in matlab 2009b
Hi yogi, The error "Cannot resolve Simulink signal object for output port" typically occurs when Simulink is unable to find or ...
4 months 前 | 0
已回答
Im getting dimension error in goto (current) block input and output both the sides.
Hi Nikita, This kind of error occurs when there is a mismatch between the dimension of the data that the signal is carrying and...
Im getting dimension error in goto (current) block input and output both the sides.
Hi Nikita, This kind of error occurs when there is a mismatch between the dimension of the data that the signal is carrying and...
4 months 前 | 0
已回答
How do I use ssCallSimulinkFunction?
Hi Arjan, The execInArgs and execOutArgs are the inputs to the function being called. These are simply variables of type _ssFc...
How do I use ssCallSimulinkFunction?
Hi Arjan, The execInArgs and execOutArgs are the inputs to the function being called. These are simply variables of type _ssFc...
4 months 前 | 0
已回答
read & write timeseries object in mat file using csmatio in C#
Hi Srikanth, As per the csmatio, it is not currently possible to read and write timeseries objects directly. So I would suggest...
read & write timeseries object in mat file using csmatio in C#
Hi Srikanth, As per the csmatio, it is not currently possible to read and write timeseries objects directly. So I would suggest...
4 months 前 | 0
已回答
read multiple mat files with Simulink
@SS, Yes since you want to load multiple .mat files, it is best to use a MATLAB function block. Here is a simple example code:...
read multiple mat files with Simulink
@SS, Yes since you want to load multiple .mat files, it is best to use a MATLAB function block. Here is a simple example code:...
4 months 前 | 0
已回答
Returning workspace outputs is supported with only single return argument
Hi Joe, The problem lies with the way you are using sim() function in your code. sim() function can only return a single argume...
Returning workspace outputs is supported with only single return argument
Hi Joe, The problem lies with the way you are using sim() function in your code. sim() function can only return a single argume...
4 months 前 | 0
已回答
I am trying to send a constant number (say 200) through serial port using Simulink, but rather than sending a sequence of 200s it transmits 105, 64,0 on repeat. why?
Hi faisal, You may try these troubleshooting steps to figure out the problem: 1) Ensure that the data type and encoding are co...
I am trying to send a constant number (say 200) through serial port using Simulink, but rather than sending a sequence of 200s it transmits 105, 64,0 on repeat. why?
Hi faisal, You may try these troubleshooting steps to figure out the problem: 1) Ensure that the data type and encoding are co...
4 months 前 | 0
已回答
SIMULINK: Set a random seed in the Block Parameters: Random Number GUI
Hi Marie, You can achieve this in two very simple ways: You can set the value of the Seed parameter in the block dialog to be...
SIMULINK: Set a random seed in the Block Parameters: Random Number GUI
Hi Marie, You can achieve this in two very simple ways: You can set the value of the Seed parameter in the block dialog to be...
4 months 前 | 0
已回答
How to get plecs support in matlab
Hi, Removing the plecs blocks may introduce various errors in your model. It is better to install the blockset instead. You can...
How to get plecs support in matlab
Hi, Removing the plecs blocks may introduce various errors in your model. It is better to install the blockset instead. You can...
4 months 前 | 0
已回答
Importing URDF file into Simulink
@Na Here are some troubleshooting steps that you can try to resolve this issue: Check that the xml description in the udrf fil...
Importing URDF file into Simulink
@Na Here are some troubleshooting steps that you can try to resolve this issue: Check that the xml description in the udrf fil...
4 months 前 | 0