Answered
How do i pause every iteration in a for iteration subsystem for a specified amount of time?
you can refer to Access Block Data During Simulation which lets you work your MATLAB code into simulation process. In the provid...

2 månader ago | 0

Answered
error C2668 on Building model matlab2016b with veristand2018 C++ (SDK7.1)
This error can occur because the pow(int, int) was removed from math.h in the CRT. You can fix this by casting the first param...

2 månader ago | 0

Answered
n4sid 'prediction' focus vs. n4sid 'simulation' focus
n4sid estimates state-space realization from input/output data. ‘prediction’ and ‘simulation’ settings in n4sidOptions determine...

2 månader ago | 0

Answered
how to generate code from rigidBodyTree or inverseKinematics object
You can find answer to a similar question here https://www.mathworks.com/matlabcentral/answers/452576-generation-of-c-code-fro...

2 månader ago | 0

| accepted

Answered
#Simulink#code generation#Buffer#Dspace
I assume that you are using a constant block inside your model. By default, the sample time of constant block is 'inf'. Try chan...

3 månader ago | 0

Answered
using fscanf to sort x and y values into vectors
I see your mat file is empty that could be the reason behind this error. I assume that you are trying to read data from data fil...

3 månader ago | 0

Answered
error LNK2019 occurs when running C Caller block in Simulink
I am assuming that you included header file in the “Insert Custom Code in generated” section and source code in the “Additiona...

3 månader ago | 1

Answered
Error using loadlibrary with CRS toolbox
Errors occur when the shared library is not a valid library. MATLAB displays messages similar to the following: There was an e...

3 månader ago | 0

Answered
How to customize the code interface of a function generated of a reference model
TLC (Target Language Compiler) files are used to customize the code building process. They generally come in two varieties Sys...

3 månader ago | 0

Answered
double-click on "uilistbox" App designer
In guide, To make the double-click work you only need to write the code below in List box callback function listbox_Callback(h...

3 månader ago | 0

Answered
when use yalmip: Unable to perform assignment because dot indexing is not supported for variables of this type.
Post YALMIP questions on the YALMIP google groups forum.

3 månader ago | 0

Answered
Generate an executable for multiple versions of Matlab/Simulink
You can find answer for a similar question here https://www.mathworks.com/matlabcentral/answers/276125-it-s-possible-the-use-of...

3 månader ago | 0

| accepted

Answered
I am having issues when opening dat files greater than 3 GB.
You can find answer for a similar question here https://www.mathworks.com/matlabcentral/answers/106062-how-to-read-large-data-f...

3 månader ago | 0

Answered
calling three different functions in one script
I understand that you want to call 3 functions together and then use the outputs of the functions to integrate. I assume that ...

3 månader ago | 0

Answered
Is there a way to check the data being sent to workspace from my Simulink model so I can choose to stop the simulation?
I understand that you want to stop Simulink simulation when a certain condition is met. Use the Stop Simulation block with an ...

3 månader ago | 0

Answered
Autogenerating fuctions from syms-Expression
I understood that you wanted to create a function which can automatically create equations and store them in a variable ‘vector’...

3 månader ago | 0

Answered
Is there any good documentation how to implement callbacks in more complex mask in simulink
I understood that you wanted to mask Simulink callbacks. The below link helps your requirement https://www.mathworks.com/help/s...

3 månader ago | 0

| accepted