Hi all, I have the following situation: 1) I have a sfunction builder block, where I have defined a function in C, which uses external library (libxml2 to be precise). I use visual…
Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.
Hi all, I have the following situation: 1) I have a sfunction builder block, where I have defined a function in C, which uses external library (libxml2 to be precise). I use visual…
Hello, I am using a Simulink model to control a small robot. The model is compiled using the Real-Time Windows Target (ERT), and runs in external mode for 100 seconds. I have …
Why does the MOD function from the Math Function block return unexpected results with negative inputs in Simulink? I have a model with a MOD block. The inputs to the block are two …
I am looking for the best way to develop an app that has an already developed code in MatLab that works with Simulink and Simscape. I have come across a variety of methods - MatLab…
I have created a high pass butterworth filter in FilterDesigner tool in MATLAB. now I want to convert its structure to transposed direct form || and then do model realization. Is t…
How to resolve error 'Not enough memory on the target to process the packet' while working on TI C2000 in external mode? I want to make a real-time trace of several signals in my m…
I built a model which contains frame-based signals and an Embedded MATLAB block, which just runs fine. When I put some parts of my model in a subsystem it also works fine. However …
We are generating code using RTW via a script. I am trying to collect the port dimensions and data types. Argument names would be great too, but not required. I am currently abl…
I want to update a GUI that I have designed in App Designer using data that is generated during the simulation of a Simulink model. In other words, how do I access run-time paramet…
Why do I receive an error when protecting a model reference block that contains an Embedded MATLAB block in its design in Simulink 7.6 (R2010b)? I am trying to create a protected m…