photo

Suman


Last seen: 2 dagen ago Active since 2024

Followers: 0   Following: 0

Statistics

  • 6 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

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

ongeveer een maand ago | 0

Answered
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://...

ongeveer een maand ago | 0

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

ongeveer een maand ago | 0

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

ongeveer 2 maanden ago | 0

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

ongeveer 2 maanden ago | 0

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

ongeveer 2 maanden ago | 0

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

ongeveer 2 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

| accepted

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Answered
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 maanden ago | 0

Load more