Answered
Spring bodies of my custom actuator design are not showing in simulink simscape
Hi Burak, In order to find the root cause of the issue, model files and exact reproductions steps are required. However, you c...

1 year ago | 0

Answered
Error when I using buildCalibrationBitstream with Kintex-Ultrascale
Hi, Here are some troubleshooting steps you can try: 1. Close the HDL Workflow Advisor and your model. 2. Restart MATLAB. 3....

1 year ago | 0

Answered
How to disable position independent code (PIC) in CMake code generation for PIL?
Hi Peter, As per my understanding from the comments specified in the internal file of the toolbox, 'PIC' is intentionally enabl...

1 year ago | 1

| accepted

Answered
The code which disconnect safely an USB drive works randomly
Hi Pierre, A possible reason for the above code working randomly to eject USB, can be because of the function 'EjectUSB'. Alth...

1 year ago | 0

Answered
Type mismatch error using SolidWorks' API in MATLAB
Hi Mario, The 8th argument of the method is an object of Callout type. Generally, such objects are represented as VT_DISPATCH, ...

1 year ago | 0

Answered
Opening a subplot by clicking onto certail point in the point graph
Hi MS, The Code provided in the description accurately detects the point clicked in the first plot. Moreover the function 'show...

1 year ago | 0

Answered
Several InstallMathWorksServicesHost running and using up CPU
Hi Ali, Uninstalling MATLAB and re-installing it might not help, instead you need to remove/uninstall MathWorks Service Host an...

1 year ago | 0

| accepted

Answered
Enabling Simscape Multibody Link Plugin on Solidworks - Not Appearing in Add-In's on SW
Hi Matthew, The steps mentioned in the documentation generates the dll successfully without any errors. However as the plug-in ...

1 year ago | 0

Answered
Potential problem from Gitlab runner pipeline on windows (powershell)
Hi, A possible cause of such errors in powershell is because of spaces present in the path of executable you are trying to exec...

1 year ago | 0

Answered
Inter individual distance between fishes
Hi Shramana, I am assuming that the code provided in the comments works fine and gives the desired results for X-Y coordinates ...

1 year ago | 0

Answered
Triggering functions in Event Actions @ SimEvents
Hi PersistentNoob, I have created a sample model using SimEvents Blocks. I have created a sample MATLAB function 'scaled_value'...

1 year ago | 1

| accepted

Answered
Unable to run matlab code from python, I have Matlab2024a, python 3.11 and Macbook M1.
Hi Siddharth, A possible reason for error "ModuleNotFoundError: No module named 'matlab.engine'; 'matlab' is not a package" can...

1 year ago | 0

Answered
Figure Toolbar is flickering
Hi Lowell, It is the expected behaviour of toolbar, it becomes visible when you hover over the axes of the figure else it disap...

1 year ago | 0

| accepted

Answered
Programmatically Moving Simulink Blocks Between Subsystems
Hi Maximilian, It is possible to programmatically cut a block from one subsystem and paste it inside another subsystem of a mod...

1 year ago | 1

Answered
Matlab data sorting question
Hi Daniel, A possible way to match and find out which entries from old-dataset are linked to which entries in new-dataset after...

1 year ago | 0

Answered
Simulink Embedded Coder: has no support of variable-size arrays
Hi Dimitri, It is possible to Enable & Disable the Support for Variable-Size Arrays. Please refer the following documentation...

1 year ago | 0

Answered
Using the Matlab C++ Engine SDK to connect to matlab from within library built with the c++ clibgen workflow
Hi Trevor, You can refer the following documentation which explains about how to call MATLAB from C++ and exchange the data bet...

1 year ago | 0

Answered
Road profile, car model, suspension model
Hi Mattia, I created a dummy model, with only MATLAB Function Block and placed the above code inside the block. On Simulation,...

1 year ago | 0

Answered
Cannot debug Fortran dll in Visual Studio
Hi Rami, You can refer the following MATLAB Answer thread, which talks about debugging a function inside C/C++ shared library l...

1 year ago | 0

Answered
Can't Rotate a cylinder around it's own axis in Simulink using Simscape and Robotics System Tool Box
Hi Tanmay, I think you missed out adding 'External Force and Torque' Block. This block will apply the desired torque about the ...

1 year ago | 0

Answered
Out of memory error
Hi Luis, According to the stack track generated, it seems like there is a problem with the function 'cat' which you are using f...

1 year ago | 0

Answered
MATLAB 2021B Freezing on M1 Macbook Air
Hi Jacob, You can refer the following troubleshooting steps-> Increase the Heap Size allocated to MATLAB. You can find this in...

1 year ago | 0

Answered
Detect changes between specific values in a tall array
Hi Francisco, I have made certain assumptions based on my understanding from the description. Here are the assumptions: You ha...

1 year ago | 0

Answered
How to select an Excel shape in Matlab using ActiveX?
Hi Rakeshkumar, The error is probably due to the following line of code: PictureSelect = Picture.Select; Because this error...

1 year ago | 0

Answered
Incorrect torque measurement in revolute joint
Hi Enrique, Please go through the following pointers: If you are using 'Simulink-PS Converter' block for specifying values of ...

1 year ago | 0

Answered
Is there a way to assign a KeyPressFcn to a button in matlab app designer?
Hi Noam, A possible workaround for your use-case can be to make use of 'WindowButtonMotionFcn' because this callback is trigger...

1 year ago | 0

Answered
Unable to log signal from signal bus
Hi Vinay, The reason due to which 'PwrLoss' Signal from the bus is not visible in scope block and still is getting logged in Si...

1 year ago | 0

Answered
Simscape Multibody unexpected Simulation Result
Hi EFTHYMIOS, When I analyzed the model, it seems to me the possible reason for such an unexpected behaviour is because of Inco...

1 year ago | 1

| accepted

Answered
Cell-specific context menu in uitable
Hi Justin, A possible way to achieve location specific context-menu opening through App designer is by adding the following p...

1 year ago | 1

| accepted

Answered
Embedded Coder for C2000 for matrix operation
Hi Sayan, It is possible that the higher versions of MATLAB may enable code generation for Matrices. In the release notes of ...

1 year ago | 0

Load more