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

Question


How to get consistant results when testing code performance
I have functions to make searches in Simulink models. I want to test which algorithm has better performance. I use the "Run and ...

en dag ago | 2 answers | 0

2

answers

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...

19 dagar 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...

26 dagar 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...

27 dagar 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 månader 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 månader 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...

ungefär 2 år 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...

mer än 3 år 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...

mer än 4 år ago | 1 answer | 0

1

answer