Answered
How to modify Create test case from External data option in test manager programmatically?
Hey @bhavyashree Shetty, The "Create test case from External file" checkbox mainly functions to show or hide the "File" edit fi...

7 months ago | 0

Answered
In mapping inputs for Simulink test manger for test harness with model references the test manager asks to untick compile option. Is there a way to do this using scripts.
Hey @KOSHY THOMAS, The desired option can be found in the map method of the sltest.testmanager.TestInput class. To access the d...

7 months ago | 0

Answered
Simulink Real-Time SignalTable callback syntax examples
Hey @Scott, While there might not be explicit documentation on the expected syntax for the signal callback, here's a way to add...

7 months ago | 1

| accepted

Answered
How do you use when decomp sub steps with multiline logic statements?
Hey @Mike Schreiber, As highlighted in a MATLAB Answer, multi-line conditions in a when decomposition were not supported as of ...

7 months ago | 0

Answered
How can I verify my code ?
Hey @John, In MATLAB R2021b, various types of unit tests, such as script, function, or class-based tests, can be utilized to va...

7 months ago | 0

Answered
Can i perform SIL test using the simulink test tool for hand written code instead of auto generated one?
Hey @Sriram G, According to the documentation, it's possible to perform SIL testing on handwritten code. More information can b...

7 months ago | 0

Answered
How can I disable signal logging across an entire Simulink model except a dedicated library?
Hey @Ram Prasanth, The "Override Signal Logging Settings" option is useful for modifying the data logging properties of logged ...

7 months ago | 1

Answered
ERROR IN PARALLEL COMPUTING HEAT EQUATION
Hey @Iqamatulhaq Rakayama, The use of a parallel pool is suitable when each iteration in a loop is independent and can be execu...

7 months ago | 0

Answered
add_line connection for to column cells
Hey @Tommy, Similar to your question at https://www.mathworks.com/matlabcentral/answers/2174846, I would like to modify my answ...

7 months ago | 1

| accepted

Answered
How to create a drivingScenario based on openstreetmap with building information?
Hey @quanzhou yu, For creating roads using OpenStreetMap data, please refer to this example: https://www.mathworks.com/help/rel...

7 months ago | 0

Answered
Matlab using in sSimulink
Hey @Tommy, In the shared code, the line PH_AddCell{v}=get(AddCell(v),'PortHandles'); only stores port handles for blocks in th...

7 months ago | 0

Answered
Which testing scenario should be selected, for testing if the model's output and expected output is same.
Hey @Arepalli, The baseline test is particularly useful for comparing test harness results with baseline (reference/expected) d...

7 months ago | 0

| accepted

Answered
How to add relative path file in Simulink Test Manager?
Hey @galaxy, Using a MATLAB project is an elegant approach for organizing work. A project can be created from a folder using th...

7 months ago | 0

Answered
Design Custom Criterias in Simulink Test Manager
Hey @Jakob Laurell, Upon opening the test file "AutopilotTestFile.mldatx," the names of the associated model and test harness b...

7 months ago | 0

Answered
Height or maximum length of utilizable simulink screen R2018b
Hey @Priya, In MATLAB R2018b, the limit seems to be [-32786, 32767], but in R2019a, this limit increased to [-1073740824, 10737...

7 months ago | 0

| accepted

Answered
UAV Path Following Path Switching Problem
Hey @Muhammed Emin Yavuzaslan, In the carrot chase algorithm, I assume that (XM0, YM0), and (XT0, YT0) represent the current an...

8 months ago | 0

Answered
How to get Match Size Option for Simulink blocks in MATLAB 2022b
Hey @Sumit Kumar, The Match options, including Match Width, Match Height, and Match Size, can be found under the FORMAT tab. Th...

8 months ago | 0

Answered
Comparison of two BUS signals, while replacing signals that exist in the second BUS into the first BUS, BUS handling with Matlab Functions
Hey @Ramón Tamino Uhl, To address the task of manually creating a bus, a MATLAB script can be employed to read element names fr...

8 months ago | 0

Answered
Multiple release criteria on entity selection gate
Hey @Andrew, The Enable gate operating mode of the Entity Gate can be utilized to create a custom selection criterion. Here's a...

8 months ago | 0

Answered
air to ground system's antenna's offboresight angle in horizontal and vertical planes
Hey @MatG, The image might be a bit misleading, so introducing a point J along BH, at a distance equal to the projection of BA ...

8 months ago | 0

Answered
The boolean flags never changes in finite state flow chart of state machine implementation.
Hey @mehrzad, Based on the described logic, SWAMP2Flag becomes true only if SWAMP1Flag is true, and vice versa. However, both f...

8 months ago | 1

| accepted

Answered
Adding Texture to FBX buidling in Roadrunner
Hi @Tri, 3D models often come with associated image files like texture maps or normal maps. When exporting an FBX with external...

8 months ago | 0

Answered
Trying to generate code from the command line only for blocks within a model reference
Hey @Jon Warriner, The Block Path value of a Simulink.BlockPath object represents the model hierarchy. To extract the block pat...

8 months ago | 0

| accepted

Answered
Commandline Equivilant of sisotool pidTuner
Hey @Justin Deterding, To programmatically tune a PID controller, the systune function offers a structured approach. Here's a s...

8 months ago | 0

Answered
Data store memory data is not changed in simulink test assessment block
Hey @Yuan, The documentation on Data Objects explains that resolving a signal in a model to data objects, such as a Simulink.Si...

8 months ago | 0

Answered
Calculating sampling frequency of a 5 min time using the last tick interpolation
Hey @Emad, To calculate the 5-minute log return, the data can be resampled at 5-minute intervals and then the log and diff comm...

9 months ago | 0

Answered
Simulink Data Inspector missing data in plots
Hey @Sea Bea, The issue seems to be related to the Limit data points to last option available in various locations within Simul...

9 months ago | 0

Answered
Rotation Matrix in estimateMonoCameraParameter.m
Hey @Mochammad Habibi, The example on Matrix Rotations and Transformations illustrates how rotation matrices can be used to rot...

9 months ago | 0

Answered
Using automatic differentiation (dlgradient) for Euler's Method (gradient descent)
Hey @Michael T, It sounds like the goal is to set the pixels inside the mask to 1 and those outside to 0. Here are a few adjust...

9 months ago | 0

Load more