답변 있음
lane keeping MPC system- Simulink
Hey @Adafner, The Lane Keeping Assist System Using Model Predictive Control includes several files. The getCurvature functio...

12개월 전 | 0

답변 있음
Deadbeat control Space-State System
Hey @Pablo Graale, The idea of placing poles at the origin of the z-plane for designing a deadbeat controller is indeed correct...

12개월 전 | 0

답변 있음
How to accumulate a collection of samples data in Simulink?
Hey @Harras Waince, To accumulate a signal in Simulink, the Buffer block can be utilized. For example, to accumulate 20 samples...

12개월 전 | 0

답변 있음
How to access simulink arduino instance inside matlab function from stateflow?
Hey @Dominic Newman, The issue might be related to code generation when using arduino and writeDigitalPin within the MATLAB Fun...

12개월 전 | 0

답변 있음
I get error for my code which uses SimEvents
Hey @Ian, It seems there might be some confusion regarding the library paths for the Entity Generator, Queue, Server, and Termi...

12개월 전 | 0

답변 있음
Rename test harness on .mldatx simulink test file
Hey Felipe, The symbols in a test sequence can be modified if the name of the test harness is known. More information on this c...

12개월 전 | 0

답변 있음
Simulink Test: Each Test Case in the Iteration prompts' Building Model 'before running
Hey @chaoran, The Simulink Test Manager provides the capability to create Real-Time Tests, with three options for specifying th...

12개월 전 | 0

답변 있음
How do I plot spiral phase plate with staircase structure
Hey @ILY, To create a spiral phase plot with a staircase pattern, the floor function can be employed. Here's an example that tr...

대략 1년 전 | 0

답변 있음
Im trying to plot the impulse and step responses and frequency response (magnitude and phase) of this system directly from the differential equation.
Hey @Andrew Roos, The impulse, step, and bode functions are useful for plotting the impulse response, step response, and Bode p...

대략 1년 전 | 0

답변 있음
Unittesting Matlab System Block
Hey @Tim david, Since the stepImpl function is protected, creating an inherited subclass and using a class-based unit test can ...

대략 1년 전 | 0

답변 있음
Specify parameters to be PrivateGlobals in Simulink Coder
Hey @Shamoil, The Code Mappings pane is a useful tool for adjusting the storage class of Simulink signals. If it isn't visible,...

대략 1년 전 | 0

답변 있음
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 ...

대략 1년 전 | 0

| 수락됨

답변 있음
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...

대략 1년 전 | 0

답변 있음
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,...

대략 1년 전 | 0

답변 있음
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...

대략 1년 전 | 0

답변 있음
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...

대략 1년 전 | 0

답변 있음
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...

대략 1년 전 | 1

답변 있음
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...

대략 1년 전 | 0

답변 있음
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...

대략 1년 전 | 0

답변 있음
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 ...

대략 1년 전 | 0

답변 있음
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...

대략 1년 전 | 0

답변 있음
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,...

대략 1년 전 | 0

답변 있음
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...

대략 1년 전 | 0

답변 있음
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...

대략 1년 전 | 0

답변 있음
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...

대략 1년 전 | 0

답변 있음
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...

대략 1년 전 | 0

답변 있음
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 ...

대략 1년 전 | 0

| 수락됨

답변 있음
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...

대략 1년 전 | 1

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

대략 1년 전 | 0

답변 있음
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...

대략 1년 전 | 0

더 보기