Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...
mehr als 2 Jahre ago
How can I change a tunable parameter with a Matlab function when using Simulink Coder?
We have a Simulink model that is compiled and run on a dSPACE box. We need to be able to # change the value of a parameter wi...
etwa 3 Jahre ago | 0 answers | 0
How to solve algebraic loop with enabled subsystem and integrator?
Hello, I have an enabled subsystem which should run until the "subsystem time" t_subsystem has reached a specific value. I ke...
fast 4 Jahre ago | 0 answers | 0
What's the best way to control the time and input data of a model from another model or Matlab?
I want to run a simulation that is practically controlled from another PC (e.g. ROS node). The other PC would irregularly se...
fast 4 Jahre ago | 1 answer | 0