Answered
How to update imported ReqIF requirements in Requirements Toolbox while preserving model links?
To preserve the model links, Update Imported Requirements instead of importing the updated requirements as new requirements. The...

19 days ago | 0

| accepted

Answered
How can I make Embedded Coder use "memset" instead of enormous hard-coded constants?
Make sure that the "Inline invariant signals" optimization has been enabled. Run below command in MATLAB 2016b for documentatio...

19 days ago | 0

| accepted

Answered
How can I migrate results from Polyspace Web Metrics to Polyspace Access in MATLAB R2025b?
It is possible to migrate some results from Polyspace Metrics to Polyspace Access, as explained on the "Migrate Results from Pol...

19 days ago | 0

| accepted

Answered
Why do I encounter an error message about a missing 'armclang' license when using the STM32 Embedded Coder Support Package after upgrading to R2025a?
Starting in R2025a, the Embedded Coder Support Package for STMicroelectronics STM32 Processors includes additional support for t...

19 days ago | 0

| accepted

Answered
Why is my model returning only 0s when using Third Party Calibration Tools and the XCP protocol with an STM target?
This may be due to "ON_TARGET_WAIT_FOR_START" being set to 1 while using third-party calibration tools. When simulating with Sim...

19 days ago | 0

| accepted

Answered
Are VISA devices supported with Speedgoat & Simulink Real-Time (SLRT)?
Unfortunately, the VISA libraries have limited portability. This means they work primarily on Windows desktop computers but cann...

19 days ago | 0

| accepted

Answered
How do I migrate my model from the "Simulink Coder Support Package for STMicroelectronics Nucleo Boards" to the "Embedded Coder Support Package for STMicroelectronics STM32 Processors"?
To migrate your model from the Simulink Coder Nucleo package to the Embedded Coder STM32 package, you need to apply the basic st...

19 days ago | 0

| accepted

Answered
Why do I get the MATLAB Coder error 'Computed maximum size exceeds maximum allowed number of elements' when calling 'sum' on an array?
When you call: sum(~isnan(parameterA), [2 3]) or similarly: sum(parameterA, [2 3]) MATLAB uses type inference to determine the...

19 days ago | 0

| accepted

Answered
How to create a report only for overflow result in Polyspace Code Prover
I will explain based on the Polyspace Code Prover demo example. First, select Help > Examples > Code_Prover_Example.psprj ...

19 days ago | 0

| accepted

Answered
Why do I get "Requested array exceeds the maximum possible variable size" error when using "retime" function?
TT2 = retime(TT1,'regular',method,'TimeStep',dt) calculates regularly spaced row times using the time step "dt". The "dt" input ...

19 days ago | 0

| accepted

Answered
Why do I receive a "Failed to connect to the target" error message when running the "stm32f4discovery_asynchronous_scheduling" example using PIL?
PIL is primarily used for algorithm testing and not for modeling real-time behavior. Therefore, Asynchronous Scheduling is not p...

19 days ago | 0

| accepted

Answered
Why do I get too many compilation errors like <identifier "XXX" is undefined> though I added the related header files in Polyspace?
The most frequent compilation issue&nbsp;is caused with undefined identifiers. Here is a troubleshooting section in the document...

19 days ago | 0

| accepted

Answered
How to import Pickle data using Python Interface
You can load Pickle-formatted data into MATLAB by using Python Interface . To call Python modules from MATLAB you must first con...

19 days ago | 0

| accepted

Answered
How to call MATLAB from C/C++ in Windows 10 with IDE, for example, Visual Studio?
============================================================== For an overall guidance about how to call MATLAB in C/C++, pleas...

19 days ago | 1

| accepted

Answered
Why do I recieve the error "Mixed field types in structure arrays are not supported"?
This could be the result fields in the structure's composition that contain datatypes that are not supported for code generation...

19 days ago | 0

| accepted

Answered
Why does Simulink Data Inspector show zeros for logged signals when running a model on a Raspberry Pi in External Mode?
The issue in this case is that concurrent tasks are not mapped to the Simulink blocks in your model, so turning on "ConcurrentTa...

19 days ago | 0

| accepted

Answered
Can I generate code for STM32H7 Boards using Embedded Coder?
R2026a and later Starting R2026a, the Simulink Coder Support Package for STMicroelectronics Nucleo Boards is replaced by the&nbs...

19 days ago | 0

| accepted

Answered
Why do I receive "error while loading shared libraries: libmwmclmcrrt.so.x.x" when I run my compiled application generated using MATLAB Compiler from the terminal window on the same Linux system?
This error may occur if the environment variable LD_LIBRARY_PATH of the system is not set correctly. When executing the applica...

19 days ago | 0

| accepted

Answered
Error when trying to assign to a .NET List Item property
This error will occur if the List Item are structs. Since structs are values (i.e. not references) and since List Items are read...

19 days ago | 0

| accepted

Answered
How can I monitor and log data on the host computer while my simulation is running on a Speedgoat target?
To monitor and log signal data on the host computer while a simulation is running on a Speedgoat target, consider one of the fol...

19 days ago | 0

| accepted

Answered
Why do I get an error when choosing a field of a struct with the '.()' notation in a MATLAB Function block?
The construct "mystruct.(myfield)" in a MATLAB Function block is not supported. The reason is that an input to the MATLAB Funct...

19 days ago | 0

| accepted

Answered
Start simulations on multiple Raspberry Pis at the same time
The following discusses some suggested workflows for this procedure:For starting the application manually, you can just "Build" ...

19 days ago | 0

| accepted

Answered
How do I detect if an EtherCAT device is added to my network using EtherCAT Get Notifications?
You can use the 'EtherCAT Get Notifications' block. This block allows you to monitor the status of your network, and can be used...

19 days ago | 0

| accepted

Answered
Implications of Shellshock bug on Simulink Support Package for Raspberry Pi
To know more about the Shellshock bug please refer to the following post:https://www.mathworks.com/matlabcentral/answers/158586-...

19 days ago | 0

| accepted

Answered
How do I convert from HEX to DEC numbers larger than 2^52?
If the input is greater than&nbsp;2^52 but smaller than 2^64, consider one of the two options described in the documentation bel...

19 days ago | 1

| accepted

Answered
What are the available interfaces and APIs to interact with Speedgoat & Simulink Real-Time as a Standalone Operator in R2020b onwards?
The following workflows do not require any MATLAB installation or license on the host computer to interact with a Simulink Real-...

19 days ago | 0

| accepted

Answered
Is it possible to choose computer hardware which best optimizes the performance of MATLAB?
Many MATLAB users need to optimize MATLAB's performance in order to complete involved computational tasks in minimal time. It is...

19 days ago | 0

| accepted

Answered
Why is my VRML Animation slow and jerky when using Simulink 3D Animation?
There are several reasons that can cause the slow and jerky behavior in a VRML world created using Simulink 3D Animation. &nbsp;...

19 days ago | 0

| accepted

Answered
テスト生成やプロパティ検証において、モデルを複雑にする原因はなんですか?
モデルを複雑にする要因に付きましては、下記の項目が挙げられます。 ・入力ポート数 : Number of inputs ・入力ポートのデータ型 : the type of the inputs ・入力信号と状態・オブジェクトの依存関係 : the way...

19 days ago | 0

| accepted

Answered
Why do I receive an "out of memory" error when building a very large model for xPC Target?
You are receiving this error because your system ran out of memory during the creation of the BIO file. This is directly related...

19 days ago | 0

| accepted

Load more