Respondida
create a mat file that appends structure data using MATLAB C APIs
Hi Imran, My understanding is that you want to append the family_data values to an existing MAT file. The probem lies with the ...

4 meses hace | 0

Respondida
Calling Matlab Function with Multiple Returns in C++ Semantic Error
Hi Emily, You can try using the C++ native types for the arguments and return types as explained in this example here: Call MAT...

4 meses hace | 0

Respondida
mex_C_win64 vs mingw64
Hi Cagri, This CompilerConfiguration object give the details about the default compiler used by the mex command. You can chec...

4 meses hace | 0

Respondida
Why do I receive error LNK1104: cannot open file libboost_zlib-vc142-mt-x64-1_84.lib
Hi 骏昌 王, As per the documentation, https://www.mathworks.com/help/matlab/ref/mex.html#btw17rw-1-option1optionN, If used, the -L...

4 meses hace | 0

| aceptada

Respondida
Use Simulink.BlockDiagram.arrangeSystem for signal line alignment but except one specific block
Hi Chuyen, Please try setting the 'FullLayout' option to 'false'. As per the examples here https://www.mathworks.com/help/simul...

4 meses hace | 0

Respondida
How to resolve "Out of Tolerance" in the Simulation Data Inspector?
Hi Yogi, Here are some troubleshooting steps that you may try to understand the reason for the Max Diff values: 1. Ensure Prop...

4 meses hace | 0

Respondida
Can a structure variable be updated within MATLAB Function block in Simulink?
Hi Afaq, There are some limitations to using variables in MATLAB function block as opposed to the way it would run in a MATLAB ...

4 meses hace | 1

| aceptada

Respondida
I don't know how to receive variables calculated in Simulink in Unity.
Hi 祐典 田島, You can refer to this example: https://github.com/simon-f-j/Simulink_In_Unity Hope that helps!

4 meses hace | 0

Respondida
I need use a blf file for CAN simulink modelling. I couldnt read the blf.
Hi zozan, This error occurs when you have special or non-ascii characters in your filename or filepath. Please rename the file ...

4 meses hace | 0

Respondida
I know it seems easy, but I'm having trouble doing this, Can anyone tell me how to design a timer of 2 sec using simulink or stateflow? or is there any inbuild block for this?
Hi Satish, You can look at this sample model to build a timer / counter using Simulink Blocks: https://www.mathworks.com/matlab...

4 meses hace | 0

Respondida
How can I deactivate the signals in the "ee dc fast charger" example?
Hi Ibrahim, I am assuming that by recording signals, you mean logging the signal data of the simulation to workspace. First of ...

4 meses hace | 0

Respondida
Why Enumerated data type creation is not supported in Model Workspace?
Hi MILI, If you need to use enumeration data types in model workspace, you may use the following workarounds: 1) Copy data fro...

5 meses hace | 0

Respondida
cant install Arduino third party packages matlab ,
Hi Prageeth, Please try running MATLAB as an administrator. In case that does not resolve the issue, please follow the troubles...

5 meses hace | 0

Respondida
Language problem inside Simulink
Hi Bodhit, It looks like MATLAB is using a non-english language for it's desktop texts and error messages. Please refer to thes...

5 meses hace | 0

Respondida
inability to add hardware support packages in MATLAB R2015a
Hi Abdullah, MATLAB Support Package for Arduino Hardware is not supported for R2015a. As per the documentation, here, it is su...

5 meses hace | 0

Respondida
Error when click "Send to simulink" Button on Bikesim
Hi Nguyen, This error indicates that Bikesim was unable to communicate with the installed MATLAB on your system. Bikesim commun...

5 meses hace | 1

Respondida
How do I translate an ARDUINO IDE Code to Simulink blocks?
Hi Nathan, It is not possible to automatically convert Arduino code to an equivalent Simulink model. You need to take a manual ...

5 meses hace | 0

Respondida
Error in port widths or dimensions
Hi laiche, You may refer to these two discussions regading the same issue: https://www.mathworks.com/matlabcentral/answers/248...

5 meses hace | 0

Respondida
Error in port widths or dimensions. Output port 1 of 'pfe1_correction16/powergui/EquivalentModel1/Sources/From2' is a one dimensional vector with 4 elements. Component: Simul
Hi Nadir, The error indicates that there is a mismatch between the dimension of the data that the signal is carrying and the di...

5 meses hace | 0

Respondida
How to solve the simulation error ,try reducing the minimum step size and/or relax the relative error tolerance.
Hi Agnes, Please refer to these answers where the users have faced similar issue: https://www.mathworks.com/matlabcentral/answ...

5 meses hace | 1

Respondida
Simulink Com serial communication how to send a hexadecimal command?
Hi Chi, The error message indicates that the fread operation was not completed before the timeout. You could go about fixing ...

5 meses hace | 0

| aceptada

Respondida
can some one explain me how to pass /give argument to add function instead of void value in simulink function
Hi Siddanagouda, It is not recommended to make changes to the generated code or the default function signatures unless you have...

5 meses hace | 0

Respondida
Using Simulink for Solver use
Hi Yasaswi, You can follow these examples to learn about using Objective functions and constrains in MATLAB: https://www.mathw...

5 meses hace | 0

Respondida
I DON'T KNOW WHAT IS THIS ERROR. CAN SOMEONE HELP ME PLEASE
Hi Vikai, The error message you're encountering, avrdude: ser_open(): can't open device "\\.\COM11": Access is denied, typicall...

5 meses hace | 0

Respondida
Streaming Hololens 2 camera signal to Matlab/Simulink
Hi Alexander, This could be helpful, https://www.trycatchdebug.net/news/1248461/streaming-hololens-2-to-matlab-simulink

5 meses hace | 0

| aceptada

Respondida
Asynchronous read\write via serial port (App designer)
Hi Andrei, There is no 'async' property for serialport. In order to read data asynchronously using serialport, you can use the ...

5 meses hace | 0

Respondida
Mapping external inputs from Excel file to Test Harness fails
Hi Jency, It seems from this answer, https://www.mathworks.com/matlabcentral/answers/345380-mapping-test-harness-inputs-to-an-e...

5 meses hace | 0

Respondida
How to compile two different array type into one variable
Hi Morin, You need to first convert the struct to cell array to be able to concatenate them. You can use the 'struct2cell' func...

5 meses hace | 0

Respondida
Test Manager external input file (Excel) defines input and expected output, but the test result Boolean type comes is off by a step.
Hi Solomon, This is not a synchronization issue but most likely a round-off error that can happen when passing discrete time in...

6 meses hace | 0

Respondida
issues in creating a mex file that uses as c++ object that works on complex<int32_t> data type...
Hi Surendra, From what I understand from the provided code snippet, the issue is that you are casting an mxArray data type to...

7 meses hace | 0

Cargar más