Question


Why is MATLAB Coder not generating complete code for my function in MATLAB R2023b?
I have a MATLAB function that takes a row or column vector, performs some vector computations, removes the first and last elemen...

1 year ago | 1 answer | 0

1

answer

Question


How can I avoid doubles from char arithmetic in fixed-point codegen in MATLAB Coder R2025a?
I am generating fixed-point code using Fixed-Point Designer and MATLAB Coder R2025a. My code will be used on a small embedded mi...

1 year ago | 1 answer | 0

1

answer

Question


How to add a header to a printed or published PDF from a MATLAB script in MATLAB R2025a?
I am printing a MATLAB script to PDF in MATLAB R2025a, but the header with the timestamp is missing. This header was includ...

1 year ago | 1 answer | 0

1

answer

Answered
How can I generate code with a dictionary that uses a custom class in MATLAB R2024b?
The error described above is a result of a documented limitation in code generation. Using "configureDictionary" with user-defin...

1 year ago | 0

| accepted

Question


How can I generate code with a dictionary that uses a custom class in MATLAB R2024b?
I am trying to use the MATLAB "dictionary" object. I want to create a "dictionary" using the "configureDictionary" function with...

1 year ago | 1 answer | 0

1

answer

Answered
How do I modify the location and size of a Custom UI Component's Figure in MATLAB R2022b?
To modify the location and size of a Custom UI Component's "Figure" object, please try the following steps: 1) Create a "postSet...

1 year ago | 0

| accepted

Question


How do I modify the location and size of a Custom UI Component's Figure in MATLAB R2022b?
I have a Custom UI Component that I would like to run as its own application in App Designer in MATLAB R2022b. I want to be able...

1 year ago | 1 answer | 0

1

answer

Answered
How to identify the most frequent colors in the RGB values of a basemap within a specified latitude and longitude window?
The demo code below demonstrates how to identify the five most common colors in the RGB values of the basemap. >> [colors...

1 year ago | 0

| accepted

Question


How to identify the most frequent colors in the RGB values of a basemap within a specified latitude and longitude window?
I have a specific latitude and longitude window, and I’d like to determine which colors appear most frequently in the basemap's ...

1 year ago | 1 answer | 0

1

answer

Answered
How to adjust MATLAB Contour Plot's colorbar to display a selected range of the colormap without changing the actual data limits ('CLim')?
You can display only the selected range of the colormap on the 'colorbar' (without changing the underlying data limits i.e., 'CL...

1 year ago | 0

| accepted

Question


How to adjust MATLAB Contour Plot's colorbar to display a selected range of the colormap without changing the actual data limits ('CLim')?
I am trying to adjust the Contour Plot's Colorbar in MATLAB to display a selected range of the colormap without altering the act...

1 year ago | 1 answer | 0

1

answer

Question


How do I generate C code using Embedded Coder for a STM32 processor without hardware support in Simulink R2023b?
I have an Arduino Portenta H7 which has a STM32H747 processor, but the Arduino Portenta H7 is not supported according to the Har...

1 year ago | 1 answer | 0

1

answer

Answered
Is it possible to load my user-defined object into MATLAB without the class definition file?
The reason that unrecognized objects are now loaded as uint32 instead of a struct is that the new MATLAB object system is implem...

1 year ago | 3

| accepted

Answered
How do the parameters "stepSize" and "stopTime" in my imported FMU's XML file affect Simulink simulation and code generation?
The properties "<DefaultExperiment>" specify default simulation parameters for an FMU according to FMI (Functional Mock-up...

1 year ago | 0

| accepted

Answered
How to verify/debug LDAP authentication?
Since the server can start, just logging in fails. The syntax of your webapps_authn.json file is correct.  To find out if the lo...

1 year ago | 0

| accepted

Answered
Why does the MathWorks Product Installer fail to download?
There can be several reasons why the installer is failing to download. See some of the possibilities below.Antivirus software - ...

1 year ago | 0

| accepted

Answered
Why do I get the error: "Cannot change parameter while simulation is running" when running my Simulink model in "Monitor and Tune" mode on external hardware?
The “Default Parameter Behavior” is currently set to "Inlined" in the model configuration, whereas it needs to be set to “Tunabl...

1 year ago | 1

| accepted

Question


Why do I get the error: "Cannot change parameter while simulation is running" when running my Simulink model in "Monitor and Tune" mode on external hardware?
I cannot change any of my model parameters when I run my Simulink model in External Mode ("Monitor and Tune") with supported har...

1 year ago | 1 answer | 0

1

answer

Answered
Why does MATLAB crash with Stack Trace referencing "jaw_util_get_atk_role_from_AccessibleContext"
The fact that "jaw_util_get_atk_role_from_AccessibleContext" is referenced near the top of the Stack Trace indicates that you ar...

1 year ago | 0

| accepted

Answered
How can I model the transport delay of a thermal fluid and its effect on temperature using Simscape Fluids?
The effect you're trying to model is a transport delay, where the outlet temperature responds after a time lag based on fluid ve...

1 year ago | 1

| accepted

Question


How can I model the transport delay of a thermal fluid and its effect on temperature using Simscape Fluids?
I'm working in Simscape to simulate fluid temperature changes along a pipe. I would like to include the transport delay caused b...

1 year ago | 1 answer | 0

1

answer

Answered
App Designer の UITable コンポーネントでは、右クリック時にマウス下のセルの行・列インデックス取得や列ごとに異なるコンテキストメニューの表示は可能でしょうか?
R2023b以降の新機能について MATLAB R2023bリリース以降、ContextMenuOpeningFcnというコールバック関数のイベントデータが拡張され、右クリックされたコンポーネントの詳細な情報を取得できるようになりました。 特に、UITab...

1 year ago | 0

| accepted

Question


App Designer の UITable コンポーネントでは、右クリック時にマウス下のセルの行・列インデックス取得や列ごとに異なるコンテキストメニューの表示は可能でしょうか?
現在、MATLAB App DesignerのUITable(ユーアイテーブル)コンポーネントでは、ユーザーがテーブル上で右クリックした際に、マウスポインタの下にあるセルの行や列のインデックス(位置情報)を取得する標準的な方法が提供されていません。また、右...

1 year ago | 1 answer | 0

1

answer

Answered
Is it possible in MATLAB App Designer's UITable component to retrieve the row and column indices of the cell under the mouse pointer on right-click
Starting with MATLAB R2023b, the ContextMenuOpeningFcn callback includes enhanced event data that gives more detailed informatio...

1 year ago | 0

| accepted

Question


Is it possible in MATLAB App Designer's UITable component to retrieve the row and column indices of the cell under the mouse pointer on right-click
Currently, in MATLAB App Designer, the UITable component does not provide a standard mechanism to retrieve the row and column in...

1 year ago | 1 answer | 0

1

answer

Answered
In MATLAB R2024b, how to simulate the output of a C function in a MIL Simulink Test, without changing the Simulink model under test?
In MATLAB R2024b, to achieve this workflow in Simulink Test you will need to create a function wrapper in C for “myExternalFcn” ...

1 year ago | 0

| accepted

Question


In MATLAB R2024b, how to simulate the output of a C function in a MIL Simulink Test, without changing the Simulink model under test?
I have a Simulink model that I'm trying to run a Model-in-the-Loop test on. My model contains a Stateflow chart that calls an ex...

1 year ago | 1 answer | 0

1

answer

Question


Why does MATLAB crash with Stack Trace referencing "jaw_util_get_atk_role_from_AccessibleContext"
My MATLAB session crashed. When I look at the crash report log, the Stack Trace has the following frames: [ 0] 0x00007e93ea735...

1 year ago | 1 answer | 0

1

answer

Answered
How to find the Process ID (PID) in matlab
Starting in R2025a, you can obtain the PID of a MATLAB process with the MATLAB command: >> matlabProcessID This function ...

1 year ago | 0

| accepted

Answered
Why does HDL code generation give errors when variable-sized variables are used?
Why HDL Coder does not support variable-sizes variables: HDL code generation does not support variables with variable sizes. In ...

1 year ago | 1

| accepted

Load more