photo

kei hin


Last seen: circa un mese fa Attivo dal 2013

Followers: 0   Following: 0

Messaggio

Answers that are not accepted within a week will be deleted.

Programming Languages:
MATLAB
Spoken Languages:
Chinese
Pronouns:
He/him

Statistica

  • 6 Month Streak
  • Knowledgeable Level 4
  • Thankful Level 3
  • First Answer

Visualizza badge

Feeds

Visto da

Risposto
在matlab调用什么函数可以让Simulink模型中的Line自动调整?
Route existing lines of model - MATLAB Simulink.BlockDiagram.routeLine - MathWorks 中国 获取标识模块或信号线的路径 - MATLAB getfullname - Ma...

3 mesi fa | 0

| accettato

Domanda


Press html hyperlink to open block in model
Can I use html hyperlink to open a block in model in matlab?

3 mesi fa | 1 risposta | 0

1

risposta

Risposto
Assign a customized image to an icon on the Quick Access Toolbar
Right click on your Quick Access Toolbar button, then edit the icon you want in command edit window. In R2019b, command below w...

4 mesi fa | 1

| accettato

Risposto
How can we create saturation behavior with using switch?
You want this?

5 mesi fa | 0

| accettato

Risposto
How to Get Data from Simulink and to store in Workspace?
Save Simulation Data - MATLAB & Simulink (mathworks.com) Hierarchy tree for simulation data - MATLAB (mathworks.com) Log and P...

5 mesi fa | 1

| accettato

Risposto
如何得到一个由数字构成的向量中有几组数字?
num = length(unique(T));

5 mesi fa | 0

| accettato

Domanda


Rotate screen orientation by m-file.
How to rotate the orientation of the second screen from landscape to portrait on a dual-monitor system

6 mesi fa | 1 risposta | 0

1

risposta

Risposto
how to get name of all element within an bus
Try to use 'To Workspace' block which in Simulink/Sinks library , link to bus selector block to pick the data you want, then rea...

7 mesi fa | 0

| accettato

Risposto
How does an M file identify whether a simulink file is a library file? M文件是如何识别simulink文件是否为库文件?
在不加载文件的情况下提取 SLX、SLXP 或 MDL 文件信息 - MATLAB - MathWorks 中国 info = Simulink.MDLInfo('file.slx') lib_flg = info.IsLibrary

7 mesi fa | 0

| accettato

Risposto
search program command in command window use Tab Button
Try to click [fx].

8 mesi fa | 0

| accettato

Risposto
Could someone please tell me which components are missing for this circuit to automatically and appropriately select inputs when dealing with multiple inputs?
You want this? Select output signal based on control signal - Simulink (mathworks.com)

8 mesi fa | 0

| accettato

Risposto
Ordering the name of excel files from short to longer length
Check the length inside the for loop and store the sorted result in variables, then use the writetable outside the for loop.

9 mesi fa | 0

| accettato

Risposto
How to supress the output of the taskkill command?
Try [status,result] = system();

9 mesi fa | 0

| accettato

Risposto
how to rename the calibration parameter in a simulink model
use find_system() to get all constant block's handle, then use get_param(blockhandle,'value') to get the value in constant, and ...

9 mesi fa | 0

| accettato

Risposto
Use user input in a function
k=3 f1=func(k) function f1=func(x); n=input('n') f1=n*x; end or n=input('n') k=3 f1=func(n,k) function f1=func(n,x); ...

9 mesi fa | 0

| accettato

Risposto
Import desktop layouts into a newer release of Matlab
I think you can back up a layout on the new version of MATLAB, then check your prefdir to see which file has been added, and the...

9 mesi fa | 1

| accettato

Risposto
Use getparam to get value from bus signal
I guess you can try to use 'To Workspace' block which in Simulink/Sinks library , link to bus selector block to pick the data yo...

9 mesi fa | 0

| accettato

Risposto
Get simulink's print dialog using MATLAB script
打印模型图 - MATLAB & Simulink - MathWorks 中国 从 MATLAB 命令行窗口以编程方式打印模型 - MATLAB & Simulink - MathWorks 中国

9 mesi fa | 0

| accettato

Risposto
MATLAB failing to read/edit Excel file on first-time code run
try full path, like hWorkbook = hExcel.Workbooks.Open([pwd,'\',outputfile])

10 mesi fa | 2

| accettato

Risposto
How to create variables from variable names stored in a array?
attributes={'time', 'step', 'cuurent', 'voltage', 'chgAh', 'disAh'}; prompt = 'input what you want: '; input_str = input(pro...

12 mesi fa | 0

| accettato

Risposto
textscan does not scan the text as accurate as strread, i have "errors"
textscan(strrep(a,' ',''),'%s%f%f%f%f%f%s','Delimiter',' '); or textscan(strrep(a,' ',' '),'%s%f%f%f%f%f%s','Delimiter',' ...

12 mesi fa | 0

| accettato

Domanda


How to set characters font in excel by m-file?
Hi all In VBA, for one cell, I can use 'ActiveCell.Characters(Start:=2, Length:=2).Font.Color = -16776961' to set 2nd and 3rd C...

quasi 2 anni fa | 1 risposta | 0

1

risposta

Risposto
Import data from CSV file by Import Tool or textscan
In the script which Import Tool created, change delimiter = ','; to delimiter = {',','\r'}; It seems to have been solved.

oltre 2 anni fa | 0

| accettato

Domanda


Import data from CSV file by Import Tool or textscan
I can import data from csv file by Import Tool(out type:string), and the tool could creat a script(textscan in it) to instead Im...

oltre 2 anni fa | 2 risposte | 0

2

risposte

Risposto
focus a block in model by m file
set(block_handle,'selected', 'on'); or set(get_param(block_path,'handle'), 'selected', 'on');

oltre 2 anni fa | 0

| accettato

Domanda


focus a block in model by m file
when I select a block in model, there is a blue outer frame on the block, but when I use 'hilite_system' in m file to focus a bl...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Extract string with regexp()
I have a variable that stores a string. The string contains letters, numbers, underscores and symbols (there is no specific orde...

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Generate PolySpace report with code
When I generate a report with PolySpace 2019a, I got a report without code content but line and column number of code, it is har...

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to limit editfield length and auto shift cursor in App Designer
I have two editfields in App Designer, now I want to limit the editield length to 2, I mean when I input 2 characters in editfie...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


get property of selected line and hide name of a line
I have a simulink model, and there are some lines in it, one of lines have name 'AA', and this line name is hide, when I cut the...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Carica altro