photo

Suman


Last seen: Today Active since 2024

Followers: 0   Following: 0

Statistics

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

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

4 days 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...

21 days 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 ...

24 days 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...

24 days 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 ...

25 days 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...

26 days 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: >...

26 days 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/...

26 days 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 ...

27 days 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...

27 days 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...

28 days 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...

28 days 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:...

1 month 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...

1 month 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...

1 month 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...

1 month 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...

1 month 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...

1 month ago | 0

Answered
create a mat file that appends structure data using MATLAB C APIs
Hi Imran, My understanding is that you want to append the family_data values to an existing MAT file. The probem lies with the ...

1 month ago | 0

Answered
Calling Matlab Function with Multiple Returns in C++ Semantic Error
Hi Emily, You can try using the C++ native types for the arguments and return types as explained in this example here: Call MAT...

1 month ago | 0

Answered
mex_C_win64 vs mingw64
Hi Cagri, This CompilerConfiguration object give the details about the default compiler used by the mex command. You can chec...

1 month ago | 0

Answered
Why do I receive error LNK1104: cannot open file libboost_zlib-vc142-mt-x64-1_84.lib
Hi 骏昌 王, As per the documentation, https://www.mathworks.com/help/matlab/ref/mex.html#btw17rw-1-option1optionN, If used, the -L...

1 month ago | 0

| accepted

Answered
Use Simulink.BlockDiagram.arrangeSystem for signal line alignment but except one specific block
Hi Chuyen, Please try setting the 'FullLayout' option to 'false'. As per the examples here https://www.mathworks.com/help/simul...

1 month ago | 0

Answered
How to resolve "Out of Tolerance" in the Simulation Data Inspector?
Hi Yogi, Here are some troubleshooting steps that you may try to understand the reason for the Max Diff values: 1. Ensure Prop...

1 month ago | 0

Answered
Can a structure variable be updated within MATLAB Function block in Simulink?
Hi Afaq, There are some limitations to using variables in MATLAB function block as opposed to the way it would run in a MATLAB ...

1 month ago | 1

| accepted

Answered
I don't know how to receive variables calculated in Simulink in Unity.
Hi 祐典 田島, You can refer to this example: https://github.com/simon-f-j/Simulink_In_Unity Hope that helps!

1 month ago | 0

Answered
I need use a blf file for CAN simulink modelling. I couldnt read the blf.
Hi zozan, This error occurs when you have special or non-ascii characters in your filename or filepath. Please rename the file ...

1 month ago | 0

Answered
I know it seems easy, but I'm having trouble doing this, Can anyone tell me how to design a timer of 2 sec using simulink or stateflow? or is there any inbuild block for this?
Hi Satish, You can look at this sample model to build a timer / counter using Simulink Blocks: https://www.mathworks.com/matlab...

1 month ago | 0

Answered
How can I deactivate the signals in the "ee dc fast charger" example?
Hi Ibrahim, I am assuming that by recording signals, you mean logging the signal data of the simulation to workspace. First of ...

1 month ago | 0

Answered
Why Enumerated data type creation is not supported in Model Workspace?
Hi MILI, If you need to use enumeration data types in model workspace, you may use the following workarounds: 1) Copy data fro...

2 months ago | 0

Load more