Is it possible to assign the size of an input port to variables instead of fixed constants?
I am using an input port in a Simulink model that will be compiled and I need to set the starting size of the input port in orde...
ungefär en månad ago | 1 answer | 0
How to create a time signal that resets to zero once a set amount of simulation time is reached?
I'm trying to create an adjusted time signal that resets to zero once a set amount of simulation time passes. The block diagram ...
3 månader ago | 1 answer | 0
How to preserve initial conditions of a model when compiling it as an FMU?
I have a working Simulink model where two of the output signals are passed back into the model as inputs for the next time step....
9 månader ago | 0 answers | 0
How do I pass input arguments to a compiled executable and define the output arguments that the user can see?
I have recently purchased the MATLAB Compiler and have a question regarding it's workflow. I have a series of .m files that I h...
9 månader ago | 1 answer | 0
Is it possible to open an excel template, save as a new file then write data to the new file without overwriting the template?
I have an excel template that I need to populate with data from a MATLAB script. I am able to automatically create the new file ...
10 månader ago | 3 answers | 0
How to speed up a 2D interpolation in MATLAB?
I am reading a table from excel which I am using as the basis for a 2D interpolation, I've included an image of the table with t...
10 månader ago | 1 answer | 0
Can MATLAB function blocks be set to run once per simulation instead of each time step if the outputs are used as inputs to a 1D look-up table?
I have a custom MATLAB function block that takes several constant inputs and outputs a setpoint that is then used as an input to...
11 månader ago | 1 answer | 0