Community Profile

photo

Fangjun Jiang


2,324 2011 年以降の合計貢献数

What is a model?
Professional Interests: Model-Based Development

連絡する

Fangjun Jiang's バッジ

  • 24 Month Streak
  • Revival Level 2
  • Ace
  • Thankful Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

詳細を表示...

貢献した分野
表示方法

回答済み
Model initialization from a callback in the mask of simulink Block
There are a few terms involved here. You need to try it out to see if it is possible to achieve what you desire to do. The point...

1日 前 | 0

回答済み
How to find signals, which are defined in matlab-workspace, but not used in the SimulinkModel?
Right click on your model, select "Find Reference Variables". Highlight all referenced variables, right click, select "Export Se...

4日 前 | 0

| 採用済み

回答済み
Is there a way to suppress Simulink from being brought to front of screen?
If you used laod_system(), then the Simulink model is not supposed to be visible. open_system() will load it and make it visible...

14日 前 | 1

| 採用済み

回答済み
How to use the simulation time in MATLAB
Create a 1Hz trigger (e.g. Pulse Generator with amplitude of 1 and period of 1), feed it to a "Not" block and then an "Assertion...

15日 前 | 0

回答済み
Simulink: Matlab function block for Charge controller of a solar home system.
Keep in mind that the MATLAB Function block executes once at every simulation step. So I don't think you should use the while-lo...

15日 前 | 1

| 採用済み

回答済み
simulink real time task excution time
In your task, you might have some conditional statements. If the condition is met, certain codes or blocks are executed thus tak...

16日 前 | 0

回答済み
System Design Description Report in 2018b
File > Reports > System Design Description is right at the menu of a Simulink model in MATLAB R2018b. Make sure you have the Sim...

16日 前 | 1

| 採用済み

回答済み
Convert single string with many numbers to vector
a=str2num(hue);

22日 前 | 1

回答済み
Save an output each simulation
In your model, you have a "To Workspace" block logging four signals and writing to a workspace variable "simout". Of course, the...

22日 前 | 1

| 採用済み

回答済み
Using a bus-signal as an Input into a 'Model'-Block in Simulink
see the demo model: sldemo_mdlref_conversion

24日 前 | 0

回答済み
Remove parameters defined in Data Dictionary which are not used reference model
At the root level of your model, right click on the canvas, select "Find Referenced Variables"

24日 前 | 2

| 採用済み

回答済み
Signal sine wave ??
If there is no constrain, you could multiple the Clock with 2*pi*f, where f is your frequency and then feed it to an "Interprete...

25日 前 | 1

回答済み
lookup tables having issue about the monotonically increasing data.
For lookup tabel data, you need to make sure the value of the breakpoint data is strictly increasing.

29日 前 | 0

回答済み
How can I programmatically delete a group (test case) from a signalbuilder?
doc signalbuilder Create Signal Builder Block and Delete Group Create a Signal Builder block with two signal groups and dele...

約1ヶ月 前 | 0

| 採用済み

回答済み
Need to run sl_refresh_customizations each time I open my Simulink project
See Customize Build Process with sl_customization.m

約1ヶ月 前 | 0

| 採用済み

回答済み
Every combination of elements
nchoosek(1:4,2)

約1ヶ月 前 | 0

| 採用済み

回答済み
How do I get multiple images in Simulink mask editor (Icon Drawing Commands)
You are on the righ track to what you want to achieve. The error is related to something else. For example, 'abc'=='abc ' wou...

約1ヶ月 前 | 0

回答済み
Problem when two Simulink models are combined.
In the two separate models, can you run simulation and log the time? Take a look at the resulting fixed-step size. Do the same f...

約1ヶ月 前 | 0

回答済み
Simulink variable number of input to a block
It could be done. First, understand this Parameterized Links and Self-Modifiable Linked Subsystems Second, construct your mo...

約1ヶ月 前 | 0

| 採用済み

回答済み
Save Excel cell range as image with activeX
Range.CopyPicture method (Excel)

約1ヶ月 前 | 0

回答済み
Getting out of while loop when user says end
Use isequal(answer,'Yes') or strcmp(answer,'Yes') 'Yes'=='No' will cause the problem.

約1ヶ月 前 | 0

| 採用済み

回答済み
Defining Matlab function datatype input in Simulink
In the MATLAB Funciton editor, click icon "Edit Data". Or in Simulink, Ctrl+H to open Model Explorer, on the left column, navig...

約1ヶ月 前 | 1

| 採用済み

回答済み
How to define a variable as an integer that's equal to or greater than zero?
rem(struct_idx,4)==1

約1ヶ月 前 | 0

回答済み
How to programmatically name blocks when creating a model
handle=add_block(...); set(handle, 'Name','YourBlockName'); Make sure the name is unique though. If not, find a way to make it...

約1ヶ月 前 | 0

| 採用済み

回答済み
How can I transfer specific values to a new variable?
z(y==1)?

約1ヶ月 前 | 0

回答済み
Error in port widths or dimensions.
The Outport block "Out1" in "PI Controller" is connected to a BusCreator (or Mux) block. It contains two signals. That might be ...

約2ヶ月 前 | 0

回答済み
cant find the mistake here
The mistake is that you need to insert this line as the first line inside your function. v=[];

約2ヶ月 前 | 0

回答済み
why does appear this error: "Unable to open file 'C:\Users\jonat\Desktop\Clean\~$2019-04-26 Clean.xlsx'?
The name "~$2019-04-26 Clean.xlsx" indicates it is a temporary file. Is the file opened or edited by another program or by the c...

約2ヶ月 前 | 0

回答済み
Finding approximate y values for corresponding x values in matlab
interp1(x,y,3.1,'nearest')

3ヶ月 前 | 0

回答済み
How to access used variables in a specific state in stateflow
Create and Access Charts Using the Stateflow API

3ヶ月 前 | 0

Load more