Community Profile

photo

Fangjun Jiang


Last seen: 1日 前 2011 以来アクティブ

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

Statistics

All
  • 36 Month Streak
  • Revival Level 3
  • First Review
  • Ace
  • Thankful Level 3
  • Knowledgeable Level 5
  • First Answer
  • Solver

バッジを表示

Content Feed

表示方法

回答済み
Read the last row of excel spreadsheet using actxserver
I hope this debug message gives you a clue. K>> Workbook.Sheets.Item(1).UsedRange.Address ans = '$A$1:$AY$83'

4日 前 | 0

回答済み
How to make MATLAB run a built-in function instead of a custom function?
Remove that (H: Drive) folder from your MATLAB path, or move it below the (C: Drive) folder that contains that built-in function...

6日 前 | 0

| 採用済み

回答済み
How do I tell Matlab to use the proper "range" function?
Run "which -all range". The first one is used. The rests are shadowed, or private which will not affect you. The 'the basic "r...

6日 前 | 0

回答済み
How do I copy 2 .slx in 1 .slx ?
The best way is to use model reference. Add two "Model" blocks, each specified as reference to m1.slx and m2.slx The other way ...

6日 前 | 0

回答済み
How to get a logical output if all the arrays of a matrix are NAN and the matrix is a string
F=["NA" "NA" "NA" "NA" "NA" "NA" "NA" "NA"]; all(F=="NA")

11日 前 | 1

| 採用済み

回答済み
How can I use a variable to set the file name using Simulink's "too file" block?
As for as I know, what you imagined can not be done. In your MATLAB script, you have to modify the parameter of the "ToFile" blo...

12日 前 | 0

回答済み
highting single plot among lots of plots on the same figure
Click menu Tools -> Link select one of the ten rows in the pop-up dialog, the corresponding curve will become bold

14日 前 | 0

回答済み
How to keep a specific value in binary matrix with column constraint?
N=10; A=eye(N); B=A(:,randperm(N));% shuffle the Identity matrix randomly RandCol=randi(N-1); B(:,RandCol)=B(:,RandCol)+B(:,...

17日 前 | 0

| 採用済み

回答済み
grabbing specific rows from matrix
RowSelection=[1 5 13 21 25]; xy_index(RowSelection ,:)

17日 前 | 0

| 採用済み

回答済み
How to programmatically rename all instances of a signal/variable in a Simulink model?
It is NOT a signal. Rather, it is a "Bus Element In" "Inport" block. blks=find_system('ModelName','FindAll','On','BlockType','I...

18日 前 | 0

| 採用済み

回答済み
Copy file and immediately read in content
In your script, try adding "rehash" after the line where the file is copied. doc rehash Use rehash with no arguments only whe...

19日 前 | 1

| 採用済み

回答済み
How do I collect unlinked block or library list.
find_system('ModelName','LookUnderMasks','All','FollowLinks','On','LinkStatus','inactive')

19日 前 | 0

| 採用済み

回答済み
How to close a dos window after a .exe is finished running?
I have provided this solution in several cases. You just need to have an empty line with a carriage return in that text file. ...

25日 前 | 0

| 採用済み

回答済み
How to get the label name when I enable the property of signal propagation
ph=get_param('PathToTheFromBlock','PortHandles'); get_param(ph.Outport,'PropagatedSignals')

27日 前 | 0

回答済み
Is it possbile to protect the code of a matlab live script?
make a p code. doc pcode

27日 前 | 0

回答済み
How can I remove this projection from Matlab plot?
Using mesh(), not using meshc(), will not show the contour.

28日 前 | 0

| 採用済み

回答済み
How do I compile a simulink model without running it?
See if this is what you need. It is equivalent to manual press Ctrl+D set_param(model,'SimulationCommand','Update')

28日 前 | 0

回答済み
In Merge block, For execution of more than one subsystem(Nested If loops) I have an error saying Ensure that the Merge block output is updated by only one of its input signals
You need to re-construct your model. At any time, there should be at most one of the inputs at the Merge block being updated. A...

約1ヶ月 前 | 0

回答済み
Numerical Precision Physics Calculations
eps(5.89e7) It means that around 5.89e7 (which is a large value), the nearest values that can be represeted by double data type...

約1ヶ月 前 | 1

| 採用済み

回答済み
How to Remove Customizatize Simulink Menu items
Most likely, it is added through a sl_customization.m file provided in the third party software . If you know the installation ...

約1ヶ月 前 | 0

| 採用済み

回答済み
Sum: every nth column and groups/blocks of columns
x=magic(12); y=reshape(x,12,4,[]); z=squeeze(sum(y,2))

約1ヶ月 前 | 0

回答済み
Block Error: Loading matlab workspace table data in Simulink model 2-D Lookup Table?
The data in your MATLAB workspace is in an Table object. see class(ELSE2021New). Simulink doesn't recognize this type of objec...

約1ヶ月 前 | 1

| 採用済み

回答済み
i dont understand the matlab fucntion any help ?please
You need to double click that "MATLAB Function" block. It will open in an Editor. There will be MATLAB code in that function. Mo...

約1ヶ月 前 | 0

回答済み
Compatibility of Matlab 2017b S-function C-Code on a HIL D-Space setup that is using Matlab 2017a?
The best way is for you to export R2017b version model to a R2017a version model so your customer can use it. Of course, that re...

約1ヶ月 前 | 0

回答済み
How can I resolve this error ?
You specified input data, but there is no root level input ports, which means no input data is needed. If you've done this manu...

約1ヶ月 前 | 0

回答済み
Creating a simulink signal with Boolean datatype
What you did is correct. However, it may cause error if the incoming signal connected to the Inport block "In8" is not boolean. ...

約1ヶ月 前 | 1

| 採用済み

回答済み
How can I show NaN as Error not Exist?
I guess the true intension is like the code below. If ErrorT is initially NaN, then "ERROR DOES NOT EXIST" will be displayed. If...

約2ヶ月 前 | 0

回答済み
Accessing Mixed-Signal Blockset in Simulink
Mixed-Signal Blockset is introduced in R2019a. It is a separate toolbox, which will need to be acquired separately. If you don't...

約2ヶ月 前 | 0

回答済み
Clock/pulses controller in Simulink
If you want to adjust the width or phase while the simulation is running, then you can use the Slider block. Add the Slider bloc...

約2ヶ月 前 | 0

回答済み
How can I use named RAM arrays in the Simulink 1-D Interpolation block?
Lookup Table Dynamic

約2ヶ月 前 | 0

| 採用済み

もっと読み込む