hydraulicToIsothermalLiquidPostProcess
Restore original file names and links after upgrading hydraulic block diagram systems to use isothermal liquid blocks
Since R2021a
Syntax
Description
takes a list of converted files, finalfiles
= hydraulicToIsothermalLiquidPostProcess(convertedfiles
)convertedfiles
, and removes the
_converted
suffix from the file names and from the links between the
files. The links between the files can include links to custom Simulink® libraries, model references, and subsystem references. Use this function after
you convert a list of files, or all files in a folder, by using the
hydraulicToIsothermalLiquid
conversion tool, to restore the original
file names while preserving the links between the files.
The hydraulicToIsothermalLiquidPostProcess
function overwrites the
original files containing hydraulic blocks from the Foundation and Fluids libraries, after
issuing a warning. It is recommended that you verify the conversion results and save a
backup copy of the original files before running
hydraulicToIsothermalLiquidPostProcess
.
When you have reviewed the list of files in the Command window and are ready to proceed,
click OK in the Warning dialog box. If you close the dialog box
without clicking OK,
hydraulicToIsothermalLiquidPostProcess
does not process the files and
returns an empty cell array.
removes the finalfiles
= hydraulicToIsothermalLiquidPostProcess(toppath
)_converted
suffix from all the file names in
toppath
folder and its subfolders that are on the MATLAB® path, as well as from the links between these files. Use this syntax after you
convert all files in a folder, by using the hydraulicToIsothermalLiquid
conversion tool, to restore the original file names while preserving the links between the
files.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2021a