Answered
variable sized inputs/outputs from rtwsfcn S-Function
Hi Jan, You can write your S-function to support arbitrary input dimensions. In that case, the Simulink engine determines the ...

1 year ago | 0

Answered
Custom control deleation from inside another custom control
Hi William, CreateCallbackFcn is a wrapper in App designer and is used to assign callbacks to UiComponents, which forwards ...

1 year ago | 2

Answered
Error with uigetdir and uigetfile in a Standalone Application (applicationCompiler)
Hi Marco, Please try the following workarounds to help resolve the issue: Workaround 1: Add the flag "-a C:\Programs\...

1 year ago | 1

| accepted

Answered
Issues with audio device writer to read the output signal.
Hi charbel, You have not provided isDeviceOpened argument to your apply_callback callback function while creating a uicontrol ...

1 year ago | 0

Answered
Unexpected Standard exception from MEX file when reading h5 file
Hi, The error you are getting is might be due to a memory issue. The h5read function reads datasets and creates a matrix of...

1 year ago | 2

| accepted

Answered
How do i acquire the value of current timestep in s fucntion (level 2 M S)?
Hi Kefan, Simulink software creates an instance of Simulink.MSFcnRunTimeBlock class for each Level-2 MATLAB S-Function block i...

1 year ago | 0

Answered
Simulink Analog Input from NI cDAQ-9185?
Hi Kyle, You can use Analog Input (Single Sample) block only with devices that support single sample acquisition. You can c...

1 year ago | 0

| accepted

Answered
No block called "Name1" or "Name2" could not be found.
Hi Ovidiu, I am assuming that you have stored the block’s paths and names in excel sheet in the order in which find_system ...

2 years ago | 0

| accepted

Answered
Using winopen with a wepapp
Hi Abhishek, Because a deployed MATLAB Web App is hosted on a server, functions that use system information have access only t...

2 years ago | 0

Answered
Hiding tabs breaks App built with App Designer in Matlab 2021b that works in 2018b
Hi, The individual tab components in MATLAB doesn't have ‘Visible’ property, so we cannot hide tab component like tab group co...

2 years ago | 1

Answered
How to show the legend of zero values as a line?
Hi, I couldn’t find any proper way to achieve your desired result and I couldn’t see the ways to convert the box legend to a l...

2 years ago | 0

| accepted

Answered
Passing variable size 2d-Array to C external library
Hi Guillermo, Computer memory stores data in terms of one-dimensional arrays. For example, when you declare a 3-by-3 matrix, ...

2 years ago | 0

Answered
"imregform"+"imwarp" do not show the same result as "imregister"
Hi Andre, To get the same result image by using function imregister and by using (imregtform + imwarp), you need to use the ad...

2 years ago | 0

Answered
When Simulink converts code, how is the simulation step size (reference sampling frequency) of the system handled, and what variables in the code are reflected in the amount r
Hi, I am assuming that you want to inspect the code generated by Simulink Coder. In that case if you have model named My_Mo...

2 years ago | 0

Answered
How do handle wrapped angular data in timetable? VariableContinuity?
Hi ET, I think the function you are looking for is unwrap . unwrap(P) function unwraps the radian phase angles in a vector P....

2 years ago | 0

Answered
Figure losing focus on keypress
Hi DNF, As per my knowledge, there are certain limitations to the use of events: A listener cannot prevent other listener...

2 years ago | 0