You can do this, but is not recommended for high-level Dynare commands. You can find the correct way to call Dynare functions in the header of the respective m-file.
For dynare_sensitivity.m, this is
function x0=dynare_sensitivity(options_gsa)
So the call would be
- Code: Select all
dynare_sensitivity(options_gsa)
where options_gsa is the options structure created by the Dynare preprocessor and passed to the function dynare_sensitivity command. This is the tricky part as you would have to manually set this options structure if you try to directly call it.