photo

Ashok


Last seen: 5 days ago Active since 2024

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 3
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
How to extract connections from architecture ports in a System Composer Mapping block
Hey @Andrea, The MappingBlock has its own architecture where the connectors are located. To access the three connectors within ...

16 days ago | 0

Answered
Fit a linear equation to obtain coefficients (constants)
Hello, A linear model essentially fits a hyperplane, where each combination of independent variables is mapped to a single valu...

16 days ago | 0

Answered
How to make a fill for standard deviation around a polar plot?
Hi @Katherine Pham, The Patch object cannot be directly used as a child of the PolarAxes object. To achieve the desired effect,...

17 days ago | 0

Answered
i am getting error in stateflow -chart
Hello, The Symbols Pane helps in creating and managing symbols. To access the Symbols pane, navigate to the Modeling tab and se...

17 days ago | 0

Answered
accessIntervals Function: Subscripting into a Table Using One Subscript Error
Hi @Bara'ah, The following code executed in MATLAB Online without any errors: startTime = datetime(2024, 1, 6, 23, 23, 0); st...

18 days ago | 0

Answered
How to Programmatically Create S-function in Matlab r2023a
Hello @Sai Manohar, To generate an S-Function from a Simulink model or subsystem, the slbuild command can be utilized. It's nec...

18 days ago | 1

Answered
Can I import my own model to aerospace blockset?
Hello @Puriya, I assume, the word model in the query refers to a CAD model of the drone. In response to the query about the CAD...

20 days ago | 0

Answered
How to get height sensor and ground feedback when UAV Simulink and UE joint simulation
Hello, The following documentation provides describes the different sensors available for co-simulation with Unreal Engine: ht...

20 days ago | 0

Answered
how to add stateflow event listener?
Hello @Ajay krishna Vasanthakumar, A Stateflow chart can include data, event, and message type symbols. Events can be created ...

23 days ago | 0

Answered
Entity Output Switch changes results based on output label
Hello @Ben Freedman, The First port that is not blocked switching criterion indeed causes the Entity Output Switch to select t...

23 days ago | 0

Answered
How to extract geometric information of discrete geometry faces (working with STL files in PDE Toolbox)?
Hi @Michael Vladimirov, The PDE toolbox offers the findNodes function to extract node indices corresponding to specific faces,...

24 days ago | 0

Answered
Data was read before writing to - StateFlow transition
Hey @LostControl, The falling(p) transition condition compares the previous and current values of the variable p to return a B...

24 days ago | 0

Answered
Simulation stops after processing one reference entity by Entity Selector when the number of entities to select is greater than 1.
Hey @Ashok Samalam, The Match Entities Based on Attributes example demonstrates matching two entities, Frames and Wheels, base...

26 days ago | 0

Answered
How to set a new waypoint after reaching the previous one in a Simulink flight simulation
Hello Benjamin, Waypoint switching logic can be manually constructed by storing waypoints in a matrix or table and indexing th...

26 days ago | 0

Answered
Why Do digitalFilter Object Functions Ignore the Filter's SampleRate Property?
Hi John, The ability to specify sample rates in the freqz or impz functions, can be useful for visualizing how the response wo...

26 days ago | 0

Answered
Help for Vortex Lattice Method
Hi @Mert, The issue appears to be in the calculation of the 'G' and 'C' matrices within the 'Panel' function. The values of ...

2 months ago | 0

| accepted

Answered
How can I have a proper LaTex compilation of a svg format Matlab plot?
Hey @JORGE SANZ SERRANO, I encountered a similar issue when using SVGs with LaTeX. It seems that the SVG file created by MAT...

2 months ago | 1

Answered
Cannot find RoadRunner installation
Hey @Rong, The presence of the 'RoadRunner' icon in the 'Apps' tab indicates that the RoadRunner standalone application is i...

2 months ago | 0

Answered
How can I link the hydraulic model to the mechanical model?
Hey @Zeko Zain, The 'Single-Acting Hydraulic Cylinder' block features 4 ports, each with a specific role: R: Connects the cy...

2 months ago | 0

Answered
Integrating six simulink model
Hey @Divyashree, It seems the output files from each process might not be in data types supported by Simulink. If that's the c...

2 months ago | 0

| accepted

Answered
Is there an example of a technical system model in Simscape with a PID controller and an LQR controller?
Hi @Alex Milns, The‘lqr’command in the Control System Toolbox is used to design a linear quadratic controller in MATLAB. Howev...

2 months ago | 0

| accepted

Answered
Nonlinear MPC hard constraints
Hey @Tristan, In the Model Predictive Control Toolbox, the default implementation of MPC uses slack variables to handle constr...

2 months ago | 0

Answered
Benefit of non-virtual output port vs. virtual output port in codegen
Hey @John, The discrepancy in output when using a non-virtual 'Outport' with a 'Merge' block, as described in the below page, ...

2 months ago | 0

Answered
Control barrier functions basic example in 1d
Hey @Hortencia Alejandra Ramírez Vázquez, From the equations mentioned in the query, it seems the condition for the system is ...

2 months ago | 0

| accepted

Answered
imagesc pixels unaligned with x axis for certain data sizes
Hey @Charlie Black, I could replicate the issue in R2021a but not in R2021b. Just a heads up, my current system runs Windows 1...

2 months ago | 1

Answered
How to apply IF statement to entity attribute
Hey @Camelia Bidi, From the attached screenshot, it looks like two different entity types, 'Attacker' and 'Legitimate', are be...

2 months ago | 0

Answered
What does the 'Information' attribute of the factor 'factorPoseSE3Prior' mean in the factor graph?
Hey @Cao, The factorPoseSE3Prior object in MATLAB is a specialized factor used in a factorGraph to represent a full-state prior...

2 months ago | 0

| accepted

Answered
How can an entity in a process simulation that stays in the system after the simulation time is over move on?
Hey @inori, From what I understand, a SimEvents simulation is being run, and some entities haven't reached the terminal state...

2 months ago | 0

Answered
How to read muxed sensor value array from StateFlow?
Hey @Jingzhe Xue, I comprehend that the Goto and From blocks are being used to send a mux signal from Simulink into a Stateflo...

2 months ago | 0

Answered
Simulate GPS IMU With Quadcopter Swarm?
Hi @Kal Rus, The process of incorporating sensors depends on whether the model is developed in MATLAB or Simulink. For models i...

2 months ago | 0

Load more