Answered
How to import the data from a password protected XLSX file in MATLAB?
To import the data from the password protected XLSX file you can use any of the following possible solutions: 1. You can import...

7 months ago | 0

| accepted

Answered
Cannot boot Simulink Real-Time kernel from custom target computer
There are multiple reasons why this may happen:It is possible that the custom computer does not have a FAT32 formatted driv...

7 months ago | 0

| accepted

Answered
Why does the neural network training end before reaching the specified maximum number of epochs?
There are many parameters that can cause a neural network to stop training.  As you may know, an epoch is the full pass of...

7 months ago | 1

| accepted

Answered
Using python inside MATLAB: unexpected results when printing Python list inside MATLAB
The MATLAB automatically converts compatible Python data to MATLAB data. For Python types that do not have compatible MATLAB typ...

7 months ago | 0

| accepted

Answered
どのように Stacked Autoencoder でデコード処理までを含ませることができますか?
スタックされたネットワークに対して、 Decoder 側を追加するようなスマートな機能は、Neural Network Toolbox (R2017a) では提供されておりません。  Toolbox で、AutoEncoder の 機能が提供さ...

7 months ago | 0

| accepted

Answered
How do I use the neural network fitting tool to predict targets?
Please try following these steps: 1. To load your data and train and neural network on this data set, please follow the instruc...

7 months ago | 0

| accepted

Answered
How can I use "vpasolve" to get the smallest solution of an equation in an intervial?
There is no way to ask for more than one solution when the input to "vpasolve" is not a polynomial equation. This is because the...

7 months ago | 0

| accepted

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...

7 months 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...

7 months 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...

7 months 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...

7 months ago | 1

| 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...

7 months 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...

7 months 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...

7 months 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...

7 months 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 ...

7 months 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...

7 months 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...

7 months 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...

7 months 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...

7 months 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...

7 months 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...

7 months 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...

7 months 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...

7 months 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...

7 months 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...

7 months 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" ...

7 months 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...

7 months 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-...

7 months 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...

7 months ago | 1

| accepted

Load more