Question


How do I add a set of commands as a shortcut to the Quick Access Toolbar in MATLAB?
How do I add a set of custom commands as a shortcut to the Quick Access Toolbar in MATLAB?

1 year ago | 1 answer | 0

1

answer

Answered
WindowsとLinux環境でdouble型の演算結果に差異は生じますか?
一般的に、オペレーティングシステム(OS)が異なると、主に以下の要因により演算結果に差異が生じる可能性が指摘されております。 1.コンパイラの違いと最適化の影響: Windows環境(多くはMicrosoft Visual C++コンパイラ、MSVC)とL...

1 year ago | 0

| accepted

Question


WindowsとLinux環境でdouble型の演算結果に差異は生じますか?
Simulinkにおいて、WindowsとLinux環境において、double型の演算結果に差異が生じる可能性があれば教えてください。 もし差異がある場合、それはどのような条件や要因によって発生するのかも教えてください。

1 year ago | 1 answer | 0

1

answer

Answered
モデル内のすべてのサブシステム参照の参照サブシステムブロック名とSLXファイルパスを取得するにはどうすればよいですか?
"Referenced Subsystem" ブロックの名前を取得するには、Subsystem パラメーター "ReferencedSubsystem" で "get_param" 関数を使用できます。パラメータの詳細については、以下を参照してください。 ...

1 year ago | 0

| accepted

Question


モデル内のすべてのサブシステム参照の参照サブシステムブロック名とSLXファイルパスを取得するにはどうすればよいですか?
MATLAB R2023bを使用しており、トップレベルモデル「topModel.slx」があります。このモデル内には「Subsystem」という名前の「参照サブシステム」ブロックがあり、「参照サブシステム」ファイルは「testRefSubsystem.sl...

1 year ago | 2 answers | 0

2

answers

Question


"Structure field undefined on some execution paths" error when copying data between cell arrays
I am trying to generate C code for a simple function with MATLAB Coder. This function defines a structure "out" and includes the...

1 year ago | 1 answer | 0

1

answer

Answered
How do I define scalar, vector and matrix data in the workspace as a struct to load into multiple root-level inports in a Simulink model?
The below script shows how to set it up with the correct dimensions in the .values fields, with the data in the workspace stored...

1 year ago | 0

| accepted

Question


How do I define scalar, vector and matrix data in the workspace as a struct to load into multiple root-level inports in a Simulink model?
I am following the workflow in the "Loading Data Structures to Root-Level Inputs" section of the MATLAB Documentation titled Loa...

1 year ago | 1 answer | 0

1

answer

Question


How are the Digital and PFI I/O pins of my DAQ board mapped in the Digital Input and Digital Output blocks in Simulink Desktop Real-Time (SLDRT)?
The Board Setup dialog box shows just a few pins in zero-based index order. How do I know which pins these map to on the hardwar...

1 year ago | 1 answer | 0

1

answer

Question


Why do I receive message "No eligible products" when trying to download the MathWorks Prerelease Software?
I have a prerelease trial that I am an end user of but after visiting the MathWorks Prelease FAQ Page and clicking on the optio...

1 year ago | 1 answer | 0

1

answer

Answered
Why are some header files such as "ippreconstruct.h" and "tmwtypes.h" not generated even though they are included with "#include" in source code generated with MATLAB Coder?
The header files are missing from the generated files because all files which are a part of MATLAB installation (present in the ...

1 year ago | 0

| accepted

Answered
Why are credentials not properly cached when using option '-mjs-username' in commands such as as 'polyspace-jobs-manager' in Polyspace Code Prover R2020a?
The appropriate workflow in order to have the credentials cached when using the MATLAB Parallel Server along with Polyspace is t...

1 year ago | 0

| accepted

Answered
Why is the "codegen" command failing with the error message “ninja: build stopped”?
To resolve the above error, run the following command: mex -setup  and choose a new value for the desired compiler. Then, ...

1 year ago | 0

| accepted

Question


Why is the "codegen" command failing with the error message “ninja: build stopped”?
I am attempting to generate a MEX file from MATLAB code using MATLAB Coder.  Every time I execute the "codegen" command to...

1 year ago | 1 answer | 0

1

answer

Answered
How can I interface Simscape Multibody with 1D translational or rotational domains?
There are blocks which interface with the rotational mechanical and translational mechanical domains in the Simscape Multibody l...

1 year ago | 0

| accepted

Answered
How to selectively suppress warnings displayed for a model in the Simulink Diagnostic Viewer in Simulink R2024b?
You can suppress diagnostic messages programmatically using the "simulink.suppressdiagnostic" function. However, this function m...

1 year ago | 0

| accepted

Question


How to selectively suppress warnings displayed for a model in the Simulink Diagnostic Viewer in Simulink R2024b?
I am running a model in MATLAB R2024b that triggers multiple warnings in the Diagnostic Viewer. I would like to suppress all ins...

1 year ago | 1 answer | 0

1

answer

Answered
How many input parameters does "mxMalloc" take in and how is memory alignment handled in MATLAB R2023b?
Based on all existing documentations for the "mxMalloc" function, the function takes in only one parameter for memory size. Cert...

1 year ago | 0

| accepted

Question


How many input parameters does "mxMalloc" take in and how is memory alignment handled in MATLAB R2023b?
I have been using the "mxMalloc" function on MATLAB R2022b with Visual Studio 2019 compiler and have been providing 2 arguments ...

1 year ago | 1 answer | 0

1

answer

Answered
How do I get 100% Simulink Coverage when using fixed-size signals as input?
In general, fixed-size signals sizes are adjusted between runs and when this happens, it will affect the number of outcomes that...

1 year ago | 0

| accepted

Question


How do I get 100% Simulink Coverage when using fixed-size signals as input?
I am struggling to get 100% coverage with Simulink Coverage for a model that uses a fixed-length array as an input. What is...

1 year ago | 1 answer | 0

1

answer

Answered
Why is my web app unable to locate a file included during compilation?
This may be due to the path used to access the file in your code.  In deployed environments, the simplest way to obtain the...

1 year ago | 0

| accepted

Question


Why is my web app unable to locate a file included during compilation?
I have a MATLAB app that depends on a data file, "test_data.xlsx". When the app is run from App Designer, this file is successfu...

1 year ago | 1 answer | 0

1

answer

Answered
How do I resolve the "Access Denied Unable to install because you do not have write permissions to this folder: $MATLABROOT" error when installing MathWorks toolboxes via Add-On Explorer on Windows or Linux?
This error appears because your user account does not have write permissions to the MATLAB installation folder ($MATLABROOT). Th...

1 year ago | 1

| accepted

Question


How do I resolve the "Access Denied Unable to install because you do not have write permissions to this folder: $MATLABROOT" error when installing MathWorks toolboxes via Add-On Explorer on Windows or Linux?
When I try to install a MathWorks toolbox using the Add-On Explorer in MATLAB on Windows or Linux, I get the error: "Access Deni...

1 year ago | 1 answer | 1

1

answer

Answered
How can I acquire images from multiple GigE cameras using Image Acquisition Toolbox and Parallel Computing Toolbox?
Please find attached example code on how to acquire from two cameras with spmd (Parallel Computing Toolbox) and videoinput ...

1 year ago | 1

| accepted

Question


오류 5201 - MATLAB을 실행하는 데 필요한 서비스에 액세스할 수 없음이 표시되는 이유는 무엇입니까?
MATLAB을 시작하려고 하면 다음 오류가 발생합니다. MATLAB을 실행하는 데 필요한 서비스에 액세스할 수 없습니다(오류 5201). 이 문제를 해결하려면 어떻게 해야 합니까?

1 year ago | 1 answer | 0

1

answer

Answered
How can I compile MEX Files without the mex Command?
OVERVIEW The mex command is the only supported way to compile MEX files. As an exception, you may compile MEX files without...

1 year ago | 7

| accepted

Answered
Is it possible to run multiple license manager daemons for different products on a single license server machine?
It is possible to run the MATLAB vendor daemon and network license manager on a machine which is currently running license manag...

1 year ago | 0

| accepted

Answered
Why does "patch(X,Y,Z, FaceColor=C)" result in thin lines rather than full patches?
This behavior is expected. MATLAB expects all positional arguments to come before Name-Value arguments. You can either call "pat...

1 year ago | 0

| accepted

Load more