Question

Use add_line on a line?

I was wondering if you could get a handle from a line and draw a line from that to something else. Kaustubha helped me with the ...

bijna 11 jaar ago | 2 answers | 0

Question

Any way to figure out what your blocks are connected to in a model?

inPorts = find_system(modelName,'SearchDepth',2,'BlockType','Inport'); outPorts = find_system(modelName,'SearchDepth',2,'Bl...

bijna 11 jaar ago | 1 answer | 1

Question

replace_block and load_system

I have 2 questions, first being: 1. Can replace_block replace blocks with custom made blocks? I'm having some trouble with th...

bijna 11 jaar ago | 1 answer | 0

Question

cvhtml help

Hello. I’m having a little issue with getting my coverage data to display to an html document correctly. We dynamically write an...

bijna 11 jaar ago | 1 answer | 0

Question

Set Simulink model simulation stop time from m file

I want to set my models simulation stop time from an m file, but I'm a little confused about how to go about it. When I'd get th...

bijna 11 jaar ago | 2 answers | 3

Question

MatLab - de-char a char

You read that right, this is probably the oddest question that I ever asked, but I just want to know if I can de-char a char. I ...

bijna 11 jaar ago | 1 answer | 0

Question

Reset Simulink model from m file

I need to reset a model within an m-file. I know using : set_param(model, 'SimulationCommand', 'start') set_param(model, 'Simu...

bijna 11 jaar ago | 1 answer | 1

Question

engEvalString like function you can use from within a MatLab M file?

I was wondering if there was a wrapper or a function like engEvalString that I could call from inside an M file. Currently we ar...

bijna 11 jaar ago | 1 answer | 0

Question

engEvalString source code, Matlab

Hello, I'm looking for the source code for the engEvalString function in matlab. I need to see what this functions doing and pos...

bijna 11 jaar ago | 1 answer | 1

Question

Setting Simulink model inports using sim() commands

I've been doing a lot of research over the last few hours and I can't seem to figure out how to get and set a value to an Inport...

bijna 11 jaar ago | 1 answer | 1

Question

Get and set Simulink model data from Matlab?

I have a simple model with 1 input and output. The input it directly linked to the output. I was wondering if there was any way ...

bijna 11 jaar ago | 1 answer | 1

Question

String parsing with a delimiter

Hello, I’m having a little problem parsing a string using a delimiter. It leave the delimiter attached to my string. Here’s my c...

bijna 11 jaar ago | 2 answers | 0