Can someone please describe how to use the library function "salient"? I am new to MatLab and have NO IDEA how to use this script. Am I supposed to edit the library file, or create a new script with salient('syncbuck_OL_LPfilter') embedded? Do we ever edit the library files? I've attempted to create a new script similar to when getSSM is used, but get the error below:
EDU>> salient_script
Undefined function 'zero' for input arguments of type 'char'.
Error in salient (line 6)
z = zero(sys);
Error in salient_script (line 11)
filter = salient('syncbuck_OL_LCfilter');
Any advice is appreciated.
You do not need to edit the functions, such as "getSSM" or "salient", that are provided to make it easier to get the results we are interested in. You can use these functions in your scripts. Here is a simple example:
ReplyDeleteGvd = getSSM('syncbuck_OL');
salient(Gvd);
The first line generates the control-to-output transfer function Gvd for the converter model in the Simulink file syncbuck_OL
The second line computes and outputs in the main MATLAB window the "salient" features of Gvd, including dc gain, corner frequencies, etc.
Hope this helps