Respondida
How can I optimize RAM, ROM, and stack usage in generated code?
Optimizing memory consumption in generated code is not a single switch or setting. RAM, ROM, and stack usage are influenced by a...

4 días hace | 0

| aceptada

Respondida
How can I include dependencies from Project References when I package my MATLAB Project as a Toolbox in MATLAB R2025b?
MATLAB R2025b does not currently support the automatic inclusion of dependencies from referenced projects when you package your ...

4 días hace | 0

| aceptada

Respondida
What is the "main.cu" file and how can I generate and include a custom one when generating code for an NVIDIA target?
The example "main.cu" and "main.h" files are generated as part of code generation but are not deployed and compiled by default. ...

4 días hace | 0

| aceptada

Respondida
Can Simulink.VariantControl from the parent model's data dictionary be passed as an argument to a child model?
It is possible to pass Simulink.VariantCotrol from parent model SLDD to child model. Please follow below steps.Create Simulink D...

4 días hace | 0

| aceptada

Respondida
Why do I get "Error in loading board file" when adding a board from file in FPGA Board Manager?
This error is occurring because the .xml file provided by the manufacturer is not the same as the .xml file used by MATLAB's FPG...

4 días hace | 0

| aceptada

Respondida
How can I display all the enumerations in my .NET assembly?
You can use the NET.addAssembly function to read basic information about an assembly.   NET.addAssembly returns a NET.addAs...

4 días hace | 0

| aceptada

Respondida
How can I install the "SoC Blockset Support Package for AMD FPGA and SoC Devices" on an offline PC running Windows 10/11?
Here is the step-by-step process to do this for MATLAB R2024b on Windows 10/11:On a PC that is connected to the internet, create...

4 días hace | 0

| aceptada

Respondida
How to use the "fred" function with the new FRED REST API before and after MATLAB R2025b?
This is expected behavior due to the FRED API system disabling some of their endpoints that the previous "fred" interfaced used....

4 días hace | 1

| aceptada

Respondida
Are JAR files built using MATLAB Compiler SDK platform independent?
In general Java classes built using MATLAB Compiler SDK are platform independent since MATLAB files are platform independent, as...

4 días hace | 0

| aceptada

Respondida
How can I use .NET Enumeration with underlying datatypes other than Int32 in MATLAB 7.8 (R2009a)?
This enhancement has been incorporated in releases R2011a and later. For these releases, more information on working with .NET e...

4 días hace | 0

| aceptada

Respondida
How can I use a custom board with the AMD SoC workflow provided by MATLAB/Simulink?
With SoC Blockset: You can use SoC Blockset to register the custom board. Once you register the custom board, you will have the ...

4 días hace | 0

| aceptada

Respondida
Does the IP Core Generation workflow in HDL Coder support asynchronous clock domains?
IP Core Generation does not support using different clocks for the IP core and the AXI interface. The IPCore_Clk and&n...

4 días hace | 0

| aceptada

Respondida
Is it possible to linearize a phase-lock-loop using the linear analysis GUI?
Since switching is an intrinsic part of phase lock loops, the "linearize-to-zero" result from the exact linearization is expecte...

4 días hace | 0

| aceptada

Respondida
How to get my FIL simulation to run faster than pure Simulink
Are you using JTAG communication for your FIL simulation? To see a performance improvement we recommend performing FIL simulatio...

4 días hace | 0

| aceptada

Respondida
Is there an example for how to model an NMC Li-ion battery in Simscape?
The example you mention uses the 'Battery' block from the Specialized Power Systems library. The following is the documentation ...

4 días hace | 0

| aceptada

Respondida
What do I set for reluctance parameter in the winding block in Simscape electrical library?
Reluctance is defined as (No.of turns)^2/Inductance. The default value for the block is 1e5 1/H. It is suggested to use a valu...

4 días hace | 0

| aceptada

Respondida
What are MIL, SIL, PIL, and HIL, and how do they integrate with the Model-Based Design approach?
MIL, SIL, PIL, and HIL testing come in the verification part of the Model-Based Design approach after you have recognized the re...

4 días hace | 79

| aceptada

Respondida
異なるOS 間でファイルを共有した場合に、MATLAB エディタで日本語が文字化けするのはなぜですか?
R2020a 以降の MATLAB エディタでは、デフォルトでは UTF-8 を使用して保存します。これにより、OS 間での文字化けを防ぐことが可能です。 詳細については、以下の URL のドキュメントをご覧ください。 ・ファイルのエンコード https...

4 días hace | 0

| aceptada

Respondida
What does the orientation imply in the context of a double acting hydraulic cylinder?
There is a chamber of fluid where hydraulic port A is connected. Let's call that chamber A. Similarly, there is a chamber of flu...

4 días hace | 0

| aceptada

Respondida
MATLAB Compiler と MATLAB Coder の違いや特徴は何ですか?
MATLAB Coder と MATLAB Compiler の想定される目的と変換可能な関数が異なります。それぞれ、以下のようになります。 ■ MATLAB Compiler (およびMATLAB Compiler SDK) ・製品紹介ページ http...

4 días hace | 0

| aceptada

Respondida
Why does my FIL simulation match Simulink simulation despite a timing violation in synthesis?
To begin, timing violation and cycle accuracy are two different concepts as they pertain to HDL Coder and FIL simulation: Cycle...

4 días hace | 0

| aceptada

Respondida
Frequently Asked Questions: MATLAB Compiler
Where can I find example code to compile?Examples located in <matlabroot>\extern\examples\compilerExamples in documentatio...

4 días hace | 2

| aceptada

Respondida
How do I package custom documentation with my toolbox?
The information on how to do this can be found at the following documentation page: https://www.mathworks.com/help/matlab/matlab...

4 días hace | 1

| aceptada

Respondida
Why do I get an error about a missing "thirdpart​ytools_win​64.xml" file when I try to build my model for Xilinx Zynq platform?
The error message indicates that the Embedded Coder Support Package for Xilinx Zynq Platform has not been set up properly. You n...

4 días hace | 0

| aceptada

Respondida
How do I use live script (*.mlx) files in source control?
How to source control your files within MATLAB: Since R2014b, you can integrate MATLAB with the Git source control system throu...

4 días hace | 1

| aceptada

Respondida
What is the live script file format (.mlx)? Can I look inside it?
The file format uses open standards -- it is not MathWorks proprietary. It is an Open Packaging Conventions file (like the Simul...

4 días hace | 0

| aceptada

Respondida
How do I set up MATLAB and access the Minidrone Competition (PX4-Multicopter) model using my competition license?
Link to the License Create or sign into a MathWorks Account Enter your Activation Key on the Link a License page...

4 días hace | 0

| aceptada

Respondida
Tips for creating standalone SLRT apps that are ready for deployment with MATLAB Compiler
Below is a collection of tips that are particularly relevant when creating SLRT apps for deployment as a standalone application ...

4 días hace | 0

| aceptada

Respondida
PMSM の相電圧、線間電圧を出力するにはどうすればよいですか?
PMSM (Permanent Magnet Synchronous Motor 永久磁石同期モーター)ブロックの相電圧は、線間電圧から計算することが可能です。 上記では、Line Voltage Sensor (Three-Phase) ブロックを使...

4 días hace | 0

| aceptada

Respondida
How to balance current output in three-phase model example when RLC load is selected as parallel RL or parallel RLC?
To achieve balanced current output, which implies that currents from the three phases have same amplitude and offset, the simula...

4 días hace | 0

| aceptada

Cargar más