photo

Jianfei


Last seen: Today Active since 2020

Followers: 0   Following: 0

Message

Programming Languages:
Python, Java, MATLAB
Spoken Languages:
English, Chinese
Professional Interests:
Java with MATLAB, Simulink, MATLAB Test

Statistics

  • Thankful Level 1
  • First Answer

View badges

Feeds

View by

Answered
Running/testing scripts on multiple Matlab/Simulink versions?
I searched for this question years ago, and recently, I found my own solution, which I’m quite satisfied with. Here’s what I did...

18 days ago | 0

Answered
Insert a link to subsytem block in annotation
You can simply use an empty subsystem and create a mask to display your annotations. Then, set up an OpenFcn callback. Using hil...

24 days ago | 0

Answered
How can I test a function that contains a "waitFor" function or popup dialogs without requiring external user input?
I found a perfect solution to this issue. I've made this answer the accepted one as it can be implemented across all MATLAB vers...

25 days ago | 0

| accepted

Question


How can I test a function that contains a "waitFor" function or popup dialogs without requiring external user input?
I am testing a GUI function in my code. Within my test class, I use Java functions to simulate mouse clicks, which trigger a pop...

3 months ago | 3 answers | 0

3

answers

Question


Is it possible to ignore certain lines in MATLAB coverage test?
If matlab version > a version do something else do something else end I hope certain lines can be ignored based o...

11 months ago | 1 answer | 0

1

answer

Question


Is it possible to run Simulink simulation without saving reference model changes?
In some old MATLAB versions (I've tested on MATLAB 2015b), Simulink simulation can be executed without saving changes on referen...

2 years ago | 0 answers | 0

0

answers

Question


How can I combine binary data in memory, and use fwrite for only one time to write all the data?
I need to write some large data in multiple loops. Each time, the data being written by fwrite is very small, and the frequent u...

3 years ago | 1 answer | 0

1

answer

Question


What is "Input" in "model" command?
In the model command, in you want to get the output of a model, the code is: outputs = model(t,x,u,'outputs'); In which "u" me...

4 years ago | 1 answer | 0

1

answer