Answered
How to correctly abort a running Matlab function/thread in a .NET Assembly in .NET8?
If creating a separate process is not helpful, you could try using Cancellation Token to signal that a task should stop. The tas...

6 months ago | 1

Answered
Is there a better way to organise my data dictionary and still have acces in Simulink and Stateflow?
Hi Danus, Managing data dictionaries in Simulink can indeed be challenging for large models. But you could try out the followin...

6 months ago | 1

Answered
Unable to delete derived entry in sldd
I am assuming that you might be using "Interface Dictionaries" and linking it to the "Data Dictionary" in the Simulink model. T...

6 months ago | 0

Answered
Class Method's 'IntelliSense' & 'help(f1) description' doesn't show - Is MathWorks working to add this feature?
Hello Cody, I would say there are 2 separate issues which are to be considered here. An option to enhance the tab-complete fea...

6 months ago | 0

| accepted

Answered
Is there any way to determine if an app is being ran as a compiled executable via MATLAB Runtime or as a mlapp file via MATLAB?
Hi Austin, You can try using the "isDeployed" function in MATLAB to determine whether the MATLAB code is running from a compile...

6 months ago | 1

| accepted

Answered
Specifying a registered toolchain
Hello Engenuity, I understand that you are facing issues with the toolchain configuration for your Simulink model. I noticed th...

6 months ago | 0

Answered
Can't use structs as outputs from simulink models
Hello, The error message that you have provided indicates that “struct” objects cannot be the output of a “MATLAB function” blo...

1 year ago | 1

Answered
Get the position of a single freehand ROI on axes with a click
Hello, I have played around with some basic code snippets in MATLAB R2023a, to see if the data related to the ROI can be displa...

1 year ago | 0

Answered
How to provide Phase difference between PWM pulses from Arduino by Simulink?
Hello, I understand that you would like to generate high frequency pulses from Arduino in pin 12 and pin 11 with the added co...

1 year ago | 0

Answered
Error trying to change colorbar color- data points dont reflect new color when colorbar changed
Hello Siobhan, I have tried out the code you have provided with some dummy data and have made some observations out of it. Fi...

1 year ago | 0

Answered
How can I use serial receive with quanser/quarc?
Hello Lukas, Unfortunately, the serial send/receive blocks from the Instrument control toolbox are not supported for code gener...

1 year ago | 0

Answered
Usage of CAN blocs on Arduino UNO & MKR CAN Shield
Hello, It is my understanding that you are trying to implement the example for CAN transmission with an Arduino UNO. I’m assumi...

1 year ago | 0

Answered
Simulink model generate different results with tha same parameters
Hello Raymond, Upon reviewing the "InitFcn" you've shared, one of the probable reasons for the varying outcomes between the ini...

1 year ago | 0

Answered
Able to send/receive serial data with Serial Explorer but not a normal script?
Hello Noah, The timeout error that you are encountering may be caused due to attempting to write data to the Arduino, immediate...

1 year ago | 0

Answered
How to create a Referenced Model Block with variable inport dimensions?
Hello Pascal, I understand that you would like to reuse your referenced model with different settings but is not able to beca...

1 year ago | 0

Answered
bwconncomp and conn=3-by-3 constant marix not working for C/C++ Code Generation, despite using R2023b
Hello Robin, I've attempted to generate C code for the "bwconncomp" function using the "conn" matrix you have provided, but I'...

1 year ago | 0

Answered
How to Make Function Help Stings (not functionSignatures.json)
Hello, I understand that you are looking for displaying function descriptions during tab auto-completion in MATLAB editor. Th...

1 year ago | 0

| accepted

Answered
Solving Non-linear Equations in Simulink Code Generation (looking for syms replacement)
It is my understanding that you would like to solve a system of equations in Simulink and perform code generation for the same. ...

1 year ago | 0

Answered
Pan object support for uiaxes for callback functionality following that of "Zoom" (ActionPreCallback / ActionPostCallback)
Hello Josiah, It is my understanding that you are trying to replicate the “ActionPreCallback” and “ActionPostCallback” functio...

1 year ago | 0

Answered
Automating my simulation model and how do I give input using GUI
Hello Ajay, It is my understanding that you would like to perform multiple automated simulations and provide the inputs from w...

1 year ago | 1

| accepted

Answered
Issue with setPreSimFcn not being called in MATLAB Parallel Computing Toolbox
Hello Szabó Bence Károly, It is my understanding that you are trying to use the MATLAB Parallel Computing Toolbox to run a mul...

1 year ago | 0

Answered
import data problem for training faster rcnn
Hello Ahmad, It is my understanding that you are trying to train a faster R-CNN network and would like to create a MATLAB “grou...

1 year ago | 0

Answered
Limits of Functions alignsignal/finddelay/xcorr - Need help aligning signals
Hello Alex, It is my understanding that you are trying to align multiple signals so that you can compare them. You can use the...

1 year ago | 0

Answered
How to transfer arrays in bus? Error is, destination block requires a bus signal with different structure than the signal connected to it
Hi Sumeet, It is my understanding that you are using the legacy tool to integrate C function whose arguments are pointers to st...

1 year ago | 0

Answered
How can I display the results from simulink to the GUI ?
Hello Xuan, It is my understanding that you would like to update a GUI with the output from a Simulink Model during model execu...

1 year ago | 0

Answered
Error with compiled app designer app using report generator toolbox.
Hello Richard Bearce, It is my understanding that you are facing an issue when compiling an application into a standalone desk...

1 year ago | 0

| accepted

Answered
How to create custom UI components with children for a MATLAB application?
Hello Rafael Guichou, It is my understanding that you would like to modify properties like fontSize, fontWeight for the “uitab...

1 year ago | 0

Answered
Exporting multidimensional signals from the Simulation Data Inspector programmatically
Hello Pasquale, It is my understanding you are trying to obtain the signals from Simulink Data Inspector by looping over the “S...

1 year ago | 0

Answered
How to acces a simscape.logging.Node
Hello, My understanding is that you would like to store the velocity and time values of a simulation output, for a model conta...

1 year ago | 1

| accepted

Answered
Need to position cursor at a specific character in a UIEditField string
Hello, My understanding is that you are working on a “uieditfield” graphics object and would like to use the “ValueChangingFcn”...

1 year ago | 0

| accepted

Load more